File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,11 @@ dist-full: clean
6363 @echo " $( PROJECT_NAME) -full-$( VERSION) .tar.xz done"
6464
6565check :
66+ @find . -type f \( -name " *.py" -o -name " *.py" \) ! -path " *./git/*" ! -path " */install.sh" ! -path " */uninstall.sh" \
67+ ! -path " */Bash-Snippet/*" ! -path " */git/git-scripts/*" ! -path " */git/git-extras/*" \
68+ ! -path " */git/git-extra-commands/*" ! -path " */cryptography/cryptr/*" \
69+ ! -path " */bash-scripts/*" ! -path " */fff/*" ! -path " */shell-scripts/*" -print0 | xargs -0 -P" $( shell nproc) " -I{} python -m compileall -q " {}"
70+ @echo " Python syntax check: done"
6671 @find . -type f \( -name " *.sh" -o -name " *.bash" \) ! -path " *./git/*" ! -path " */install.sh" ! -path " */uninstall.sh" \
6772 ! -path " */Bash-Snippet/*" ! -path " */git/git-scripts/*" ! -path " */git/git-extras/*" \
6873 ! -path " */git/git-extra-commands/*" ! -path " */cryptography/cryptr/*" \
@@ -75,8 +80,10 @@ check:
7580 @echo " Bash syntax check: done"
7681
7782check-all :
78- @find . -type f \( -name " *.sh" -o -name " *.bash" \) -print0 | xargs -0 -P" $( shell nproc) " -I{} $(SHELL ) -n " {}"
79- @find . -type f \( -name " *.sh" -o -name " *.bash" \) -print0 | xargs -0 -P" $( shell nproc) " -I{} \
83+ @find . -type f \( -name " *.py" -o -name " *.py" \) -print0 | xargs -0 -P" $( shell nproc) " -I{} python -m compileall -q " {}"
84+ @echo " Python syntax check: done"
85+ @find . -type f \( -name " *.sh" -o -name " *.bash" \) -print0 | xargs -0 -P" $( shell nproc) " -I{} $(SHELL ) -n " {}"
86+ @find . -type f \( -name " *.sh" -o -name " *.bash" \) -print0 | xargs -0 -P" $( shell nproc) " -I{} \
8087 shellcheck --check-sourced --color=auto --format=gcc --severity=warning --shell=bash --enable=all " {}"
8188 @echo " Bash syntax check: done"
8289
You can’t perform that action at this time.
0 commit comments