Browse Source

Update file exclusion list for `make format`.

pull/809/head
Julius Volz 10 years ago
parent
commit
f10effceb1
  1. 2
      Makefile

2
Makefile

@ -73,7 +73,7 @@ documentation: search_index
godoc -http=:6060 -index -index_files='search_index' godoc -http=:6060 -index -index_files='search_index'
format: dependencies 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 race_condition_binary: build
$(GO) build -race -o prometheus.race $(BUILDFLAGS) . $(GO) build -race -o prometheus.race $(BUILDFLAGS) .

Loading…
Cancel
Save