ported double tracking from TC
This commit is contained in:
7
bin/README.md
Normal file
7
bin/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
All bash script here must be compatible with following environments:
|
||||
|
||||
- *linux*: bash 4.x
|
||||
|
||||
- *windows*: git for windows 2.9.3
|
||||
|
||||
- *osx*
|
||||
5
bin/acore
Normal file
5
bin/acore
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CUR_PATH/acore-installer"
|
||||
5
bin/acore-compiler
Normal file
5
bin/acore-compiler
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CUR_PATH/../apps/compiler/compiler.sh"
|
||||
5
bin/acore-db-asm
Normal file
5
bin/acore-db-asm
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CUR_PATH/../apps/db_assembler/db_assembler.sh"
|
||||
5
bin/acore-db-export
Normal file
5
bin/acore-db-export
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CUR_PATH/../apps/db_exporter/db_export.sh"
|
||||
5
bin/acore-db-pendings
Normal file
5
bin/acore-db-pendings
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CUR_PATH/../apps/db_pendings/import.sh"
|
||||
9
bin/acore-docker-build
Normal file
9
bin/acore-docker-build
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
docker build -t acbuild -f docker/build/Dockerfile .
|
||||
|
||||
docker run \
|
||||
-v /$(pwd)/docker/build/cache:/azerothcore/build \
|
||||
-v /$(pwd)/docker/worldserver/bin:/binworldserver \
|
||||
-v /$(pwd)/docker/authserver/bin:/binauthserver \
|
||||
acbuild
|
||||
9
bin/acore-docker-build-no-scripts
Normal file
9
bin/acore-docker-build-no-scripts
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
docker build --build-arg ENABLE_SCRIPTS=0 -t acbuild -f docker/build/Dockerfile .
|
||||
|
||||
docker run \
|
||||
-v /$(pwd)/docker/build/cache:/azerothcore/build \
|
||||
-v /$(pwd)/docker/worldserver/bin:/binworldserver \
|
||||
-v /$(pwd)/docker/authserver/bin:/binauthserver \
|
||||
acbuild
|
||||
7
bin/acore-docker-generate-etc
Normal file
7
bin/acore-docker-generate-etc
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cp src/server/worldserver/worldserver.conf.dist docker/worldserver/etc/worldserver.conf.dist
|
||||
cp src/server/authserver/authserver.conf.dist docker/authserver/etc/authserver.conf.dist
|
||||
|
||||
cp docker/worldserver/etc/worldserver.conf.dockerdist docker/worldserver/etc/worldserver.conf
|
||||
cp docker/authserver/etc/authserver.conf.dockerdist docker/authserver/etc/authserver.conf
|
||||
10
bin/acore-docker-remove-build-cache
Normal file
10
bin/acore-docker-remove-build-cache
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo rm -rf ./docker/build/cache/CMakeFiles
|
||||
sudo rm -rf ./docker/build/cache/deps
|
||||
sudo rm -rf ./docker/build/cache/src
|
||||
sudo rm ./docker/build/cache/*.cmake
|
||||
sudo rm ./docker/build/cache/*.txt
|
||||
sudo rm ./docker/build/cache/*.h
|
||||
sudo rm ./docker/build/cache/*.cpp
|
||||
sudo rm ./docker/build/cache/Makefile
|
||||
5
bin/acore-installer
Normal file
5
bin/acore-installer
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CUR_PATH/../apps/installer/main.sh"
|
||||
Reference in New Issue
Block a user