Merge pull request #7 from rumanzo/build-patch-1

Update build.sh
This commit is contained in:
Alexey Kostin 2020-03-03 13:31:14 +03:00 committed by GitHub
commit 372e9fb928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
#!/bin/bash
GOOS=windows GOACH=amd64 go build -o bt2qbt_v${1}_amd64.exe
GOOS=windows GOARCH=386 go build -o bt2qbt_v${1}_i386.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
GOOS=darwin GOARCH=amd64 go build -o bt2qbt_v${1}_amd64_macos
GOOS=darwin GOARCH=386 go build -o bt2qbt_v${1}_i386_macos