Ver código fonte

fix lint part

Artem V. Ageev 8 meses atrás
pai
commit
67808dc19f
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      .github/workflows/make.sh

+ 2 - 2
.github/workflows/make.sh

@@ -72,11 +72,11 @@ function priv_lazbuild
         fi 1>&2
         rm "${TMP[out]}"
     done < <(find "${VAR[src]}" -type 'f' -name '*.lpi' | sort)
-    find "${VAR[src]}" -type 'f' -name '*.py' -printf '\033[32m\tlint files.py\t%p\033[0m\n' -exec \
+    find 'resources' -type 'f' -name '*.py' -printf '\033[32m\tlint files.py\t%p\033[0m\n' -exec \
         python3 -m pylint {} + 1>&2
     find "${VAR[src]}" -type 'f' -name '*.c' -printf '\033[32m\tlint files.c\t%p\033[0m\n' -exec \
         cppcheck --language=c --enable=warning,style --template=gcc {} + 1>&2
-    find "${VAR[src]}" -type 'f' -name '*.sh' -printf '\033[32m\tlint files.sh\t%p\033[0m\n' -exec \
+    find "${PWD}" -type 'f' -name '*.sh' -printf '\033[32m\tlint files.sh\t%p\033[0m\n' -exec \
         shellcheck --external-sources {} + 1>&2
     exit "${errors}"
 )