mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Exclude Godeps from make format
This commit is contained in:
parent
39d20140c8
commit
e4b4cac212
2
Makefile
2
Makefile
|
@ -74,7 +74,7 @@ documentation: search_index
|
||||||
godoc -http=:6060 -index -index_files='search_index'
|
godoc -http=:6060 -index -index_files='search_index'
|
||||||
|
|
||||||
format:
|
format:
|
||||||
find . -iname '*.go' | egrep -v "^\./\.build|./generated|\.(l|y)\.go" | xargs -n1 $(GOFMT) -w -s=true
|
find . -iname '*.go' | egrep -v "^\./\.build|./generated|\./Godeps|\.(l|y)\.go" | xargs -n1 $(GOFMT) -w -s=true
|
||||||
|
|
||||||
race_condition_binary: build
|
race_condition_binary: build
|
||||||
$(GO) build -race -o prometheus.race $(BUILDFLAGS) .
|
$(GO) build -race -o prometheus.race $(BUILDFLAGS) .
|
||||||
|
|
Loading…
Reference in a new issue