Skip to content

Commit

Permalink
add build for more dist
Browse files Browse the repository at this point in the history
  • Loading branch information
HDT3213 committed Jun 4, 2023
1 parent 3b9c423 commit 527ed37
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build-all.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
./build-darwin.sh
./build-linux.sh
#!/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 ./

0 comments on commit 527ed37

Please sign in to comment.