summaryrefslogtreecommitdiff
path: root/apps/compiler/includes/functions.sh
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2018-07-15 22:40:49 +0200
committerYehonal <yehonal.azeroth@gmail.com>2018-07-15 22:51:17 +0200
commit85388901cf6a69659569ad751767fd7108b25a3c (patch)
treea004b01dfd378841c2ee473023313ade212118d7 /apps/compiler/includes/functions.sh
parent07a451e1402cf8a7c24cf6196d541d304f5dcff2 (diff)
Rewrite of bash system
+ Implemented new dashboard menu + some fixes for db_assembler + new module installation process with version check via json files + some fixes to modules installer + implemented simple crossplatform worldserver and authserver restarters + new compiler script + client data downloader (beta) + various other fixes
Diffstat (limited to 'apps/compiler/includes/functions.sh')
-rw-r--r--apps/compiler/includes/functions.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/compiler/includes/functions.sh b/apps/compiler/includes/functions.sh
index 4dfaa46038..947f9ff5fc 100644
--- a/apps/compiler/includes/functions.sh
+++ b/apps/compiler/includes/functions.sh
@@ -39,7 +39,7 @@ function comp_configure() {
}
-function comp_build() {
+function comp_compile() {
[ $MTHREADS == 0 ] && MTHREADS=`grep -c ^processor /proc/cpuinfo` && MTHREADS=$(($MTHREADS + 2))
echo "Using $MTHREADS threads"
@@ -55,3 +55,13 @@ function comp_build() {
runHooks "ON_AFTER_BUILD"
}
+
+function comp_build() {
+ comp_configure
+ comp_build
+}
+
+function comp_all() {
+ comp_clean
+ comp_build
+} \ No newline at end of file