-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build script supports multiple platform
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
SCRIPT_PATH=$(dirname "$(realpath -s "$0")") | ||
|
||
go build -o chia-bouncer "$SCRIPT_PATH/main.go" | ||
env GOOS=linux GOARCH=amd64 go build -o chia-bouncer-linux-amd64 "$SCRIPT_PATH/main.go" | ||
env GOOS=darwin GOARCH=amd64 go build -o chia-bouncer-darwin-amd64 "$SCRIPT_PATH/main.go" | ||
env GOOS=windows GOARCH=amd64 go build -o chia-bouncer-windows-amd64 "$SCRIPT_PATH/main.go" | ||
env GOOS=linux GOARCH=arm64 go build -o chia-bouncer-linux-arm64 "$SCRIPT_PATH/main.go" |