created install script

It works on all platform that supports basic bash

( windows, linux, osx etc )
This commit is contained in:
Yehonal
2016-07-28 11:43:10 +02:00
committed by Yehonal
parent 3917cf0965
commit b0bc413af7

12
install.sh Executable file
View File

@@ -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