Skip to content

Commit

Permalink
Show diff when generated Rust is not up-to-date
Browse files Browse the repository at this point in the history
  • Loading branch information
duskmoon314 committed Aug 18, 2024
1 parent 594405b commit 4ad183c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CI/check_codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ diff="$(git status --porcelain rust)"

if [ ! -z "$diff" ]; then
echo "The generated Rust files are not up-to-date"
echo "DIFF:"
echo "$diff"
echo "You can regenerate them with './codegen/update.sh' and commit the changes"
exit 1
fi
Expand Down

0 comments on commit 4ad183c

Please sign in to comment.