summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-11-27 11:00:47 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-11-27 17:17:11 +0000
commit99f905243be351c4ca3c878dfe1a86e38169569d (patch)
tree63d1b6de791d350d245c11960e5da70b571f2d17 /hack
parentdd88ce005f244c761e209347c63d4e65c9df9e26 (diff)
downloadpodman-99f905243be351c4ca3c878dfe1a86e38169569d.tar.gz
podman-99f905243be351c4ca3c878dfe1a86e38169569d.tar.bz2
podman-99f905243be351c4ca3c878dfe1a86e38169569d.zip
Narrow gofmt targets
Disregard _output for gofmt'ing Signed-off-by: baude <bbaude@redhat.com> Closes: #77 Approved by: rhatdan
Diffstat (limited to 'hack')
-rwxr-xr-xhack/verify-gofmt.sh3
1 files changed, 2 insertions, 1 deletions
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"