Skip to content

Instantly share code, notes, and snippets.

@zamicol
Created March 29, 2016 23:01
Show Gist options
  • Save zamicol/25dff2db2d473c191f3fbf1956a0473f to your computer and use it in GitHub Desktop.
Save zamicol/25dff2db2d473c191f3fbf1956a0473f to your computer and use it in GitHub Desktop.
How to build to an output directory with gox for golang
gox -output="bin/{{.Dir}}_{{.OS}}_{{.Arch}}" -os="linux windows"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment