Created
June 27, 2013 15:11
-
-
Save andybons/5877277 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Exit on error. | |
set -e | |
echo "Running go vet..." | |
go vet package/... | |
echo "Running tests..." | |
go test package/... | |
echo "Running gofmt..." | |
find . -name "*.go" | xargs gofmt -w |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment