Fixed build script

This commit is contained in:
Tracker-Friendly 2024-10-20 16:53:45 +01:00
parent 5502758d25
commit e8c3b11165
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@
path=$(realpath "$(dirname "$0")") || exit 1 path=$(realpath "$(dirname "$0")") || exit 1
rm -rf "$path/../../services/burgernotes.fgs" || exit 1 rm -rf "$path/../../services/burgernotes.fgs" || exit 1
cd "$path" || 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 go build -o "$path/../../services/burgernotes.fgs" --buildmode=plugin -ldflags "-s -w" || exit 1