Skip to content

Instantly share code, notes, and snippets.

@dustin
Last active December 20, 2015 22:39
Show Gist options
  • Select an option

  • Save dustin/6207012 to your computer and use it in GitHub Desktop.

Select an option

Save dustin/6207012 to your computer and use it in GitHub Desktop.
my x-compile script
#!/bin/sh
hg purge -v --all
./make.bash
for os in darwin freebsd linux netbsd openbsd plan9 windows
do
for arch in 386 amd64 arm
do
env GOOS=$os GOARCH=$arch ./make.bash --no-clean
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment