Add a SKIP_BUILD option to the demo scripts

This commit is contained in:
Mike Hearn 2016-04-25 15:21:47 +02:00
parent f6ef1c8071
commit 40f43fd7c8
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@ if [ ! -e ./gradlew ]; then
exit 1
fi
if [ ! -d build/install/r3prototyping ]; then
if [ ! -d build/install/r3prototyping ] && [[ "$SKIP_INSTALL" == "" ]]; then
./gradlew installDist
fi

View File

@ -7,7 +7,9 @@ if [ ! -e ./gradlew ]; then
exit 1
fi
./gradlew installDist
if [[ "$SKIP_INSTALL" == "" ]]; then
./gradlew installDist
fi
if [[ "$mode" == "buyer" ]]; then
if [ ! -d buyer ]; then