Files
email-tracker/external/duckdb/tools/juliapkg/format_check.sh
2025-10-24 19:21:19 -05:00

17 lines
318 B
Bash
Executable File

set -e
if [[ $(git diff) ]]; then
echo "There are already differences prior to the format! Commit your changes prior to running format_check.sh"
exit 1
fi
./format.sh
if [[ $(git diff) ]]; then
echo "Julia format found differences:"
git diff
exit 1
else
echo "No differences found"
exit 0
fi