mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #1452 from prometheus/fix-style-checker
Detect code style violations in deeply nested files
This commit is contained in:
commit
29e31dc3c6
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ all: format build test
|
||||||
|
|
||||||
style:
|
style:
|
||||||
@echo ">> checking code style"
|
@echo ">> checking code style"
|
||||||
@! gofmt -d **/*.go | grep '^'
|
@! gofmt -d $(shell find . -path ./vendor -prune -o -name '*.go' -print) | grep '^'
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@echo ">> running tests"
|
@echo ">> running tests"
|
||||||
|
|
Loading…
Reference in a new issue