diff --git a/build-linux.sh b/build-linux.sh deleted file mode 100755 index 2ed88b3..0000000 --- a/build-linux.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -SCRIPT_PATH=$(dirname "$(realpath -s "$0")") - -env GOOS=linux GOARCH=amd64 go build -o chia-bouncer "$SCRIPT_PATH/main.go" diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..bde8048 --- /dev/null +++ b/build.sh @@ -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"