diff options
author | baude <bbaude@redhat.com> | 2017-11-27 11:00:47 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-11-27 17:17:11 +0000 |
commit | 99f905243be351c4ca3c878dfe1a86e38169569d (patch) | |
tree | 63d1b6de791d350d245c11960e5da70b571f2d17 | |
parent | dd88ce005f244c761e209347c63d4e65c9df9e26 (diff) | |
download | podman-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
-rwxr-xr-x | hack/verify-gofmt.sh | 3 |
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" |