File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ COVERAGE_DIR ?= .coverage
88
99build-cli : clean
1010 -mkdir ./cli/build
11- cd ./cli && GOOS=linux GOARCH=amd64 go build -a -o build/migrate.linux-amd64 -ldflags=' -X main.Version=$(VERSION) -extldflags "-static"' -tags ' $(DATABASE) $(SOURCE)' .
12- cd ./cli && GOOS=darwin GOARCH=amd64 go build -a -o build/migrate.darwin-amd64 -ldflags=' -X main.Version=$(VERSION) -extldflags "-static"' -tags ' $(DATABASE) $(SOURCE)' .
13- cd ./cli && GOOS=windows GOARCH=amd64 go build -a -o build/migrate.windows-amd64.exe -ldflags=' -X main.Version=$(VERSION) -extldflags "-static"' -tags ' $(DATABASE) $(SOURCE)' .
11+ cd ./cli && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o build/migrate.linux-amd64 -ldflags=' -X main.Version=$(VERSION) -extldflags "-static"' -tags ' $(DATABASE) $(SOURCE)' .
12+ cd ./cli && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -o build/migrate.darwin-amd64 -ldflags=' -X main.Version=$(VERSION) -extldflags "-static"' -tags ' $(DATABASE) $(SOURCE)' .
13+ cd ./cli && CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o build/migrate.windows-amd64.exe -ldflags=' -X main.Version=$(VERSION) -extldflags "-static"' -tags ' $(DATABASE) $(SOURCE)' .
1414 cd ./cli/build && find . -name ' migrate*' | xargs -I{} tar czf {}.tar.gz {}
1515 cd ./cli/build && shasum -a 256 * > sha256sum.txt
1616 cat ./cli/build/sha256sum.txt
You can’t perform that action at this time.
0 commit comments