Naveen Sampath | 04696f7 | 2022-06-13 15:19:14 +0530 | [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 |
| 17 | echo '# aix ppc64' |
| 18 | GOARCH=ppc64 GOOS=aix go build |
| 19 | echo '# solaris amd64' |
| 20 | GOARCH=amd64 GOOS=solaris go build |