Update run.sh

This commit is contained in:
Roy Clarkson 2013-08-07 23:17:45 -04:00
parent 5b1dd74f38
commit 82b2bed880
1 changed files with 31 additions and 8 deletions

View File

@ -1,13 +1,36 @@
#!/bin/sh
cd $(dirname $0)
cd ../complete
mvn clean package
rm -rf target
./gradlew build
rm -rf build
cd ../initial
mvn clean package
rm -rf target
./gradlew build
rm -rf build
ret=$?
if [ $ret -ne 0 ]; then
exit $ret
fi
rm -rf target
./gradlew build
ret=$?
if [ $ret -ne 0 ]; then
exit $ret
fi
rm -rf build
cd ../initial
mvn clean package
ret=$?
if [ $ret -ne 0 ]; then
exit $ret
fi
rm -rf target
./gradlew build
ret=$?
if [ $ret -ne 0 ]; then
exit $ret
fi
rm -rf build
exit