now with exit code

This commit is contained in:
overflowerror 2018-07-10 21:28:55 +02:00
parent 15c512af3a
commit 35e0af7f98

View file

@ -3,6 +3,7 @@
EXIT_SUCCESS=0 EXIT_SUCCESS=0
EXIT_COMPILE_FAILED=1 EXIT_COMPILE_FAILED=1
EXIT_PACKING_FAILED=2 EXIT_PACKING_FAILED=2
EXIT_INSTRUMENTATION_FAILED=3
mkdir -p ../bin/ mkdir -p ../bin/
mkdir -p ../build/ mkdir -p ../build/
@ -27,6 +28,9 @@ fi
popd popd
./instrumentation.sh ./instrumentation.sh
if test ! $? = 0; then
exit $EXIT_INSTRUMENTATION_FAILED
fi
cp ../bin/activejdbc_models.properties ../build/ cp ../bin/activejdbc_models.properties ../build/