Skip to content

Commit

Permalink
fix: python invocation for local build
Browse files Browse the repository at this point in the history
  • Loading branch information
slurdge committed Mar 16, 2023
1 parent 0b427cf commit fbdb0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_all.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ FOR /F "tokens=* USEBACKQ" %%F IN (`git rev-parse HEAD`) DO (SET GIT_COMMIT=%%F)
FOR /F "tokens=* USEBACKQ" %%F IN (`powershell get-date -format "{yyyyMMddHHmmss}"`) DO (SET BUILD_DATE=%%F)
FOR /F "tokens=* USEBACKQ" %%F IN (`type clientid.txt`) DO (SET CLIENT_ID=%%F)
del /s /q build\*.*
gox.py -osarch="linux/386 linux/amd64 linux/arm64 linux/arm darwin/amd64 windows/amd64 windows/386" -parallel 4 -output "build/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X github.com/slurdge/goeland/goeland.clientID=%CLIENT_ID% -X github.com/slurdge/goeland/version.GitCommit=%GIT_COMMIT% -X github.com/slurdge/goeland/version.BuildDate=%BUILD_DATE% -s -w"
python gox.py -osarch="linux/386 linux/amd64 linux/arm64 linux/arm darwin/amd64 windows/amd64 windows/386" -parallel 4 -output "build/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X github.com/slurdge/goeland/goeland.clientID=%CLIENT_ID% -X github.com/slurdge/goeland/version.GitCommit=%GIT_COMMIT% -X github.com/slurdge/goeland/version.BuildDate=%BUILD_DATE% -s -w"

0 comments on commit fbdb0b3

Please sign in to comment.