created install script
It works on all platform that supports basic bash ( windows, linux, osx etc )
This commit is contained in:
parent
3917cf0965
commit
b0bc413af7
1 changed files with 12 additions and 0 deletions
12
install.sh
Executable file
12
install.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue