diff --git a/.gitignore b/.gitignore index 485dee6..1fea52c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .idea +bt2qbt_v* diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..162b947 --- /dev/null +++ b/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash +GOOS=windows GOACH=amd64 go build -o bt2qbt_v${1}_amd64.exe +GOOS=linux GOARCH=amd64 go build -o bt2qbt_v${1}_amd64_linux +GOOS=darwin GOARCH=amd64 go build -o bt2qbt_v${1}_amd64_macos +GOOS=linux GOARCH=386 go build -o bt2qbt_v${1}_i386_linux +GOOS=linux GOARCH=386 go build -o bt2qbt_v${1}_i386.exe