ignore .git dirs when executing gofmt

pull/58/head
tianshapjq 2018-09-06 14:23:19 +08:00
parent f3b98a08b0
commit 1de325fe3f
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ find_files() {
find . -not \( \
\( \
-wholename './output' \
-o -wholename './.git' \
-o -wholename './_output' \
-o -wholename './_gopath' \
-o -wholename './release' \

View File

@ -36,6 +36,7 @@ find_files() {
find . -not \( \
\( \
-wholename './output' \
-o -wholename './.git' \
-o -wholename './_output' \
-o -wholename './_gopath' \
-o -wholename './release' \