diff options
Diffstat (limited to 'devops')
-rw-r--r-- | devops/chameleon/build-chameleon | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/devops/chameleon/build-chameleon b/devops/chameleon/build-chameleon index 4421407..c588e95 100644 --- a/devops/chameleon/build-chameleon +++ b/devops/chameleon/build-chameleon @@ -1,2 +1,13 @@ -lein uberjar -cp -f ../../target/chameleon.jar . +!#/bin/bash +ls build-chameleon +if [ $? -eq 0 ]; then + echo "Building Chameleon" +else + echo "FAILED. Make sure you're in the same directory as the \"build-chameleon\" file." + exit 1 +fi +pushd . +cd ../../ +mvn -X clean package +popd +cp -f ../../target/chameleon-0.1.0-jar-with-dependencies.jar ./chameleon.jar |