Better way of checking gofmt

This commit is contained in:
Matthew Holt 2016-03-28 10:52:48 -06:00
parent 3395f6c775
commit 32dbbfd64c

View File

@ -22,7 +22,7 @@ install:
- go get github.com/gordonklaus/ineffassign
script:
- "[ -z \"$(find -name \"*.go\" | xargs gofmt -s -l)\" ] || exit 1"
- diff <(echo -n) <(gofmt -s -d .)
- ineffassign .
- go vet ./...
- go test ./...