mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 07:52:28 +00:00
Merge pull request #809 from prometheus/update-make-format
Update file exclusion list for `make format`.
This commit is contained in:
commit
330ed7b9f2
2
Makefile
2
Makefile
@ -73,7 +73,7 @@ documentation: search_index
|
||||
godoc -http=:6060 -index -index_files='search_index'
|
||||
|
||||
format: dependencies
|
||||
find . -iname '*.go' | egrep -v "^\./\.build|./generated|\./Godeps|\.(l|y)\.go" | xargs -n1 $(GOFMT) -w -s=true
|
||||
find . -iname '*.go' | egrep -v "^\./(\.build|Godeps)/" | xargs -n1 $(GOFMT) -w -s=true
|
||||
|
||||
race_condition_binary: build
|
||||
$(GO) build -race -o prometheus.race $(BUILDFLAGS) .
|
||||
|
Loading…
Reference in New Issue
Block a user