Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions python-phoenixdb/dev-support/rat-excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
NEWS\.rst
RELEASING\.rst
README\.rst
dev-support.*
\.gitignore
14 changes: 6 additions & 8 deletions python-phoenixdb/dev-support/run-source-ratcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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