Builder will run go build for macOS, Linux and Windows, for adm64 and 386 architectures.
Once it is done running it will restore your GOARCH
and GOOS
environment variables to their values before builder
ran.
Usages:
# Just run it naked to cross-compile for macOS, Linux and Windows:
builder
# Or pick a system to build for:
builder -for linux
go get github.com/ladydascalie/builder
MIT.