From e16bda37d76e63e0f903bba13ed1dccf3b17f395 Mon Sep 17 00:00:00 2001 From: Shwetank Dave Date: Mon, 11 Jun 2018 10:15:34 -0400 Subject: Add logging and tests and build using mvn An initial version of adding logs to chameleon An initial version of adding specs (tests) to chameleon. Adding pom.xml so the project can be build using maven. Updating README.md for instructions on running it locally. Issue-ID: AAI-1220 Change-Id: I85f46fd7f625c83b84f211d6766970431e6d91eb Signed-off-by: Shwetank Dave --- devops/chameleon/build-chameleon | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'devops') 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 -- cgit 1.2.3-korg