Cross Compiling with Go
SPF13
FEBRUARY 27, 2014
Inspired by Dave’s script, goxc is a go application that not only cross compiles, but also can compress the different binaries and package them with the readme and license. goxc -d="$HOME/Code/GoBuilds/" -bc="linux windows darwin freebsd netbsd" -pv=0.10 -o="{{.Dest}}{{.PS}}{{.AppName}}{{.PS}}{{.Version}}{{.PS}}{{.AppName}}_{{.Version}}_{{.Os}}_{{.Arch}}{{.Ext}}"
Let's personalize your content