dnote/pkg/server/api/scripts/build.sh
2019-07-22 13:41:09 +10:00

7 lines
165 B
Bash
Executable file

#!/bin/bash
set -eux
basePath="$GOPATH/src/github.com/dnote/dnote/pkg/server/api"
cd "$basePath"
GOOS=linux GOARCH=amd64 go build -o "$basePath/build/api" main.go