mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
[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:
parent
bbf23f18d0
commit
417f5a9f99
3 changed files with 51 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ addons:
|
|||
install:
|
||||
- make -B vendor
|
||||
|
||||
script: make test
|
||||
script: make verify
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue