diff --git a/python-phoenixdb/dev-support/rat-excludes.txt b/python-phoenixdb/dev-support/rat-excludes.txt index d96d387..8d30494 100644 --- a/python-phoenixdb/dev-support/rat-excludes.txt +++ b/python-phoenixdb/dev-support/rat-excludes.txt @@ -2,3 +2,5 @@ NEWS\.rst RELEASING\.rst README\.rst +dev-support.* +\.gitignore \ No newline at end of file diff --git a/python-phoenixdb/dev-support/run-source-ratcheck.sh b/python-phoenixdb/dev-support/run-source-ratcheck.sh index de9b72f..39f28ca 100755 --- a/python-phoenixdb/dev-support/run-source-ratcheck.sh +++ b/python-phoenixdb/dev-support/run-source-ratcheck.sh @@ -53,11 +53,9 @@ fi echo "RAT binary installation localized, running RAT check" # Run the RAT check, excluding pyc files -for src in 'phoenixdb' 'ci' 'examples' 'doc'; do - echo "Running RAT check over $src" - java -jar "$ARTIFACTS_DIR/$RAT_BINARY_DIR/$RAT_JAR" -d "$DEV_SUPPORT/../$src" -E "$DEV_SUPPORT/rat-excludes.txt" - if [[ $? -ne 0 ]]; then - echo "Failed RAT check over $src" - exit 1 - fi -done +echo "Running RAT check" +java -jar "$ARTIFACTS_DIR/$RAT_BINARY_DIR/$RAT_JAR" -d "$DEV_SUPPORT/../" -E "$DEV_SUPPORT/rat-excludes.txt" +if [[ $? -ne 0 ]]; then + echo "Failed RAT check" + exit 1 +fi