From 79af8434d38ec3925b8b8c18d44ab8d4f72f624e Mon Sep 17 00:00:00 2001 From: Nathan McCauley Date: Tue, 14 Jul 2015 14:21:52 -0700 Subject: [PATCH] exclude proto gen'd code from go fmt during circle ci Signed-off-by: Nathan McCauley --- circle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 1ceb8992e5..90e31701b1 100644 --- a/circle.yml +++ b/circle.yml @@ -45,7 +45,7 @@ test: - gvm use stable && go version # FMT - - gvm use stable && test -z "$(gofmt -s -l . | grep -v Godeps/_workspace/src/ | tee /dev/stderr)": + - gvm use stable && test -z "$(gofmt -s -l . | grep -v .pb. | grep -v Godeps/_workspace/src/ | tee /dev/stderr)": pwd: $BASE_STABLE # VET @@ -53,7 +53,7 @@ test: pwd: $BASE_STABLE # LINT - - gvm use stable && test -z "$(golint ./... | grep -v Godeps/_workspace/src/ | tee /dev/stderr)": + - gvm use stable && test -z "$(golint ./... | grep -v .pb. | grep -v Godeps/_workspace/src/ | tee /dev/stderr)": pwd: $BASE_STABLE override: