diff options
Diffstat (limited to '.tool')
-rwxr-xr-x | .tool/lint | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.tool/lint b/.tool/lint index a62044255..4ec8bf7ab 100755 --- a/.tool/lint +++ b/.tool/lint @@ -13,7 +13,9 @@ if [ ! -f ${LINTER} ]; then exit 1 fi -PKGS=$(find . -type d -not -path . -a -not -iwholename '*.git*' -a -not -iname '.tool' -a -not -iwholename '*vendor*' -a -not -iname 'hack' -a -not -iwholename '*.artifacts*' -a -not -iwholename '*contrib*' -a -not -iwholename '*test*' -a -not -iwholename '*logo*' -a -not -iwholename '*conmon*' -a -not -iwholename '*completions*' -a -not -iwholename '*docs*' -a -not -iwholename '*pause*') +PKGS=$(find . -type d -not -path . -a -not -iwholename '*.git*' -a -not -iname '.tool' -a -not -iwholename '*vendor*' -a -not -iname 'hack' -a -not -iwholename '*.artifacts*' -a -not -iwholename '*contrib*' -a -not -iwholename '*test*' -a -not -iwholename '*logo*' -a -not -iwholename '*conmon*' -a -not -iwholename '*completions*' -a -not -iwholename '*docs*' -a -not -iwholename '*pause*' -a -not -iwholename './_output*') + +echo $PKGS # Execute the linter ${LINTER} \ @@ -40,5 +42,6 @@ ${LINTER} \ --exclude='duplicate of.*_test.go.*\(dupl\)$'\ --exclude='cmd\/client\/.*\.go.*\(dupl\)$'\ --exclude='vendor\/.*'\ + --exclude='kpod\/.*'\ --exclude='server\/seccomp\/.*\.go.*$'\ ${PKGS[@]} |