diff --git a/regenerateChaincode.sh b/regenerateChaincode.sh index 090b370..19e7968 100755 --- a/regenerateChaincode.sh +++ b/regenerateChaincode.sh @@ -1,10 +1,10 @@ -#/bin/sh +#!/bin/sh set -e rm -rf ../Obsidian/target/* pushd ../Obsidian -mv src/test src/test_save +mv src/test src/test_save mkdir src/test sbt assembly popd @@ -15,7 +15,7 @@ pushd out/LightSwitch cp $DIR/build.gradle . pwd #gradle --no-daemon -Dhttp.proxyHost=proxy-zsgov.external.lmco.com -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy-zsgov.external.lmco.com -Dhttps.proxyPort=80 clean getDeps build -gradle --no-daemon -Dhttp.proxyHost=proxy-zsgov.external.lmco.com -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy-zsgov.external.lmco.com -Dhttps.proxyPort=80 clean build shadowJar #-x checkstyleMain -x checkstyleTest +gradle --no-daemon -Dhttp.proxyHost=proxy-zsgov.external.lmco.com -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy-zsgov.external.lmco.com -Dhttps.proxyPort=80 clean build shadowJar #-x checkstyleMain -x checkstyleTest pushd build/libs java -classpath ./*.jar -jar fabric-chaincode-example-gradle-1.0-SNAPSHOT.jar