1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-10 21:01:02 +02:00
This commit is contained in:
Zackary Scholl 2025-08-03 08:15:01 -07:00
parent 0e94fa1502
commit 8c39854168

View file

@ -54,6 +54,7 @@ jobs:
# rm go.mod go.sum # rm go.mod go.sum
# go mod init github.com/schollz/croc/v10 # go mod init github.com/schollz/croc/v10
# go mod tidy # go mod tidy
go get golang.org/x/sys@v0.33.0
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-extldflags "-static"' -o croc-windows7-amd64.exe CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-extldflags "-static"' -o croc-windows7-amd64.exe
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags '-extldflags "-static"' -o croc-windows7-386.exe CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags '-extldflags "-static"' -o croc-windows7-386.exe