bt2qbt/build.sh
Alexey Kostin acdf25f526
Update build.sh
Darwin i386 build.  Fixed platform for windows i386
2020-03-03 13:31:02 +03:00

8 lines
370 B
Bash
Executable File

#!/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=linux GOARCH=386 go build -o bt2qbt_v${1}_i386_linux
GOOS=darwin GOARCH=amd64 go build -o bt2qbt_v${1}_amd64_macos
GOOS=darwin GOARCH=386 go build -o bt2qbt_v${1}_i386_macos