Merge pull request #797 from mattbostock/go_fmt

Run gofmt and add test to prevent regressions
This commit is contained in:
Brad Rydzewski
2015-01-11 11:13:35 -08:00
9 changed files with 84 additions and 83 deletions

View File

@@ -8,6 +8,7 @@ deps:
go get -t -v ./...
test:
@test -z "$(shell find . -name '*.go' | xargs gofmt -l)" || (echo "Need to run 'go fmt ./...'"; exit 1)
go vet ./...
go test -cover -short ./...