From 99f905243be351c4ca3c878dfe1a86e38169569d Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 27 Nov 2017 11:00:47 -0600 Subject: Narrow gofmt targets Disregard _output for gofmt'ing Signed-off-by: baude Closes: #77 Approved by: rhatdan --- hack/verify-gofmt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/verify-gofmt.sh b/hack/verify-gofmt.sh index 5577d1b9b..a2efbe1df 100755 --- a/hack/verify-gofmt.sh +++ b/hack/verify-gofmt.sh @@ -9,7 +9,8 @@ find_files() { \( \ -wholename '*/vendor/*' \ \) -prune \ - \) -name '*.go' + \) -name '*.go' \ + -not \( -wholename './_output/*' \) } GOFMT="gofmt -s" -- cgit v1.2.3-54-g00ecf