From f10effceb1b996ddbf3ab2dc18ec4e76ff1d7f2f Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Mon, 15 Jun 2015 16:29:21 +0200 Subject: [PATCH] Update file exclusion list for `make format`. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 65f7d441286..af774c04655 100644 --- a/Makefile +++ b/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) .