From 2a6bf4ebafee350555b66f7b24c0673e5708c627 Mon Sep 17 00:00:00 2001 From: Paul Dragoonis Date: Tue, 7 Jun 2016 03:05:53 +0100 Subject: [PATCH] The beginning of the blue ocean installer (#219) * The beginning of the blueocean installer * Creating setup.sh and start.sh --- bin/setup.sh | 11 +++++++++++ bin/start.sh | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100755 bin/setup.sh create mode 100755 bin/start.sh diff --git a/bin/setup.sh b/bin/setup.sh new file mode 100755 index 00000000..ade2fc62 --- /dev/null +++ b/bin/setup.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# todo - check for mvn being installed + +# todo - check for version of maven installed + +# todo - check for version of java installed + +mvn clean install "$@" diff --git a/bin/start.sh b/bin/start.sh new file mode 100755 index 00000000..d190d1c4 --- /dev/null +++ b/bin/start.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# todo - check if maven clean install has been run prior + +cd ${DIR}/blueocean-plugin \ +&& mvn hpi:run