dnote/pkg/server/api/scripts/build.sh
2019-08-13 12:54:06 +10:00

7 lines
173 B
Bash
Executable file

#!/usr/bin/env 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