add a pre build check to ensure that the Evaluation code is identical with the one produced by the code generator
This commit is contained in:
12
jenkins/pre-build.sh
Executable file
12
jenkins/pre-build.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#! /bin/bash
|
||||
|
||||
./bin/genEvalSpecializations.py
|
||||
|
||||
if test -n "$(git diff)"; then
|
||||
echo "The generated source files have been manually edited or the "
|
||||
echo "code generator has been modified but not been run before "
|
||||
echo "proposing the branch for merging."
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
Reference in New Issue
Block a user