X-Git-Url: https://git.evergreen-ils.org/?p=working%2FEvergreen.git;a=blobdiff_plain;f=build%2Ftools%2Fscript_x_check.sh;h=d1e3a5578a1bd29e2c2188b3853fa1cba5b614ad;hp=18e892a6f52788bf056360354aa470e3f850c964;hb=70d25de2bdd7837f3740769495655b9922e6397c;hpb=5162a5a73455c09cde5639f48c6a472aca871770 diff --git a/build/tools/script_x_check.sh b/build/tools/script_x_check.sh index 18e892a6f5..d1e3a5578a 100755 --- a/build/tools/script_x_check.sh +++ b/build/tools/script_x_check.sh @@ -6,5 +6,31 @@ # usage: run this from the base directory of your repo, # or wherever you want to check, inclusive of subdirectories -find . \( -name "*.pl" -o -name "*.sh" -o -name "*.py" \) ! -executable -ls +find . \ + \( -path ./Open-ILS/src/python/oils -prune \ + -o -path ./build/i18n/tests/testhelper.py -prune \ + -o -path ./Open-ILS/src/extras/Evergreen.py -prune \ + \) -o \ +\ + \( \ + -name "*.pl" \ + -o -name "*.sh" \ + -o -name "*.py" \ + \) \ + \( ! -executable \) \ + -ls ; +exit; + + +######################################################## +These should be exceptions (non-executable python libs): +./Open-ILS/src/python/oils/const.py +./Open-ILS/src/python/oils/event.py +./Open-ILS/src/python/oils/org.py +./Open-ILS/src/python/oils/system.py +./Open-ILS/src/python/oils/utils/utils.py +./Open-ILS/src/python/oils/utils/csedit.py +./Open-ILS/src/python/oils/utils/idl.py +./Open-ILS/src/extras/Evergreen.py +./build/i18n/tests/testhelper.py