packer-cn/vendor/github.com/creack/goselect/test_crosscompile.sh

18 lines
1.2 KiB
Bash
Raw Normal View History

2018-02-05 19:52:44 -05:00
export GOOS=linux; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=linux; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=arm64; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=darwin; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=freebsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=openbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=arm; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=amd64; echo $GOOS/$GOARCH; go build
export GOOS=netbsd; export GOARCH=386; echo $GOOS/$GOARCH; go build