From b0bc413af7507b2f6c45f97dbe55ef9285e10343 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Thu, 28 Jul 2016 11:43:10 +0200 Subject: [PATCH] created install script It works on all platform that supports basic bash ( windows, linux, osx etc ) --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 000000000..36e2f97bb --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PATH_MODULES="$CUR_PATH/modules/" +[ ! -d $PATH_MODULES/udw/joiner ] && git clone https://github.com/udw/joiner $PATH_MODULES/udw/joiner -b master +source "$PATH_MODULES/udw/joiner/joiner.sh" + + + +if [[ $1 == "dev" ]]; then + git submodule update --init "$CUR_PATH/data/doc" +fi