[build] Add gofmt-related Makefile targets

This adds `verify-gofmt` and `gofmt` make targets for quick go-fmting.
It also adds a `verify` target which verifies `gofmt` and the runs the
unit tests.

Travis now runs `make verify` instead of just `make test` as the tests.
This commit is contained in:
Solly Ross 2017-06-27 18:25:35 -04:00
parent bbf23f18d0
commit 417f5a9f99
3 changed files with 51 additions and 2 deletions

View file

@ -16,7 +16,7 @@ addons:
install:
- make -B vendor
script: make test
script: make verify
cache:
directories: