diff --git a/build-all.sh b/build-all.sh index 52901652..e604e377 100644 --- a/build-all.sh +++ b/build-all.sh @@ -1,2 +1,7 @@ -./build-darwin.sh -./build-linux.sh \ No newline at end of file +#!/usr/bin/env bash + +CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o target/godis-linux-amd64 ./ +CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o target/godis-linux-arm64 ./ +CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o target/godis-darwin-amd64 ./ +CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o target/godis-darwin-arm64 ./ +CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o target/godis-windows-amd64.exe ./