Skip to content

Commit

Permalink
Merge pull request prometheus#809 from prometheus/update-make-format
Browse files Browse the repository at this point in the history
Update file exclusion list for `make format`.
  • Loading branch information
fabxc committed Jun 15, 2015
2 parents 7b302f1 + f10effc commit 330ed7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) .
Expand Down

0 comments on commit 330ed7b

Please sign in to comment.