Fixed build script
This commit is contained in:
parent
5502758d25
commit
e8c3b11165
2
build.sh
2
build.sh
|
@ -3,5 +3,5 @@
|
|||
path=$(realpath "$(dirname "$0")") || exit 1
|
||||
rm -rf "$path/../../services/burgernotes.fgs" || exit 1
|
||||
cd "$path" || exit 1
|
||||
protoc -I="$path" --go_out="$path" "$path/protobufs/main.proto" || exit 1
|
||||
protoc -I="$path" --go_out="$path" "$path/main.proto" || exit 1
|
||||
go build -o "$path/../../services/burgernotes.fgs" --buildmode=plugin -ldflags "-s -w" || exit 1
|
||||
|
|
Loading…
Reference in New Issue