mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
created install script
It works on all platform that supports basic bash ( windows, linux, osx etc )
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user