Browse Source

Merge pull request #462 from brian-brazil/godeps-format

Exclude Godeps from make format
pull/463/head
juliusv 10 years ago
parent
commit
5f5e4d76bd
  1. 2
      Makefile

2
Makefile

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

Loading…
Cancel
Save