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:
Andreas Lauser
2019-01-09 14:29:58 +01:00
parent 26c607b086
commit d07d3cf5eb

12
jenkins/pre-build.sh Executable file
View 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