Skip to content

Commit 527ed37

Browse files
committed
add build for more dist
1 parent 3b9c423 commit 527ed37

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build-all.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
./build-darwin.sh
2-
./build-linux.sh
1+
#!/usr/bin/env bash
2+
3+
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o target/godis-linux-amd64 ./
4+
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o target/godis-linux-arm64 ./
5+
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o target/godis-darwin-amd64 ./
6+
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o target/godis-darwin-arm64 ./
7+
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o target/godis-windows-amd64.exe ./

0 commit comments

Comments
 (0)