Skip to content

Instantly share code, notes, and snippets.

@4ad
Last active August 29, 2015 14:11
Show Gist options
  • Save 4ad/9e6b0d44a12471eef125 to your computer and use it in GitHub Desktop.
Save 4ad/9e6b0d44a12471eef125 to your computer and use it in GitHub Desktop.
Build all buildable Go tests that don't import the standard library
lsr ~/go/test | grep '\.go$' | xargs egrep -l '^(// run)|(// build)' | xargs egrep -L -e import -e float | sort -u | GOOS=linux GOARCH=arm64 xargs -n1 go tool 7g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment