Scott Baker | 1fe7273 | 2019-10-21 10:58:51 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | set -e | ||||
4 | |||||
5 | echo '# linux arm7' | ||||
6 | GOARM=7 GOARCH=arm GOOS=linux go build | ||||
7 | echo '# linux arm5' | ||||
8 | GOARM=5 GOARCH=arm GOOS=linux go build | ||||
9 | echo '# windows 386' | ||||
10 | GOARCH=386 GOOS=windows go build | ||||
11 | echo '# windows amd64' | ||||
12 | GOARCH=amd64 GOOS=windows go build | ||||
13 | echo '# darwin' | ||||
14 | GOARCH=amd64 GOOS=darwin go build | ||||
15 | echo '# freebsd' | ||||
16 | GOARCH=amd64 GOOS=freebsd go build |