This commit is contained in:
Letter N
2021-03-04 22:16:38 +08:00
parent c6d1ddad10
commit ec45d015bb
6 changed files with 17 additions and 32 deletions
+3
View File
@@ -4,5 +4,8 @@ if(!(Test-Path -Path "C:/byond")){
Remove-Item C:/byond.zip
}
bash tools/ci/install_node.sh
bash tgui/bin/tgui --build
&"C:/byond/bin/dm.exe" -max_errors 0 tgstation.dme
exit $LASTEXITCODE
-19
View File
@@ -1,19 +0,0 @@
#!/bin/bash
set -euo pipefail
## Change to project root relative to the script
cd "$(dirname "${0}")/../.."
base_dir="$(pwd)"
## The final authority on what's required to fully build the project
source dependencies.sh
## Setup NVM
if [[ -e ~/.nvm/nvm.sh ]]; then
source ~/.nvm/nvm.sh
nvm use "${NODE_VERSION}"
fi
echo "Building 'tgui'"
cd "${base_dir}/tgui"
bin/tgui --ci
+4
View File
@@ -92,6 +92,10 @@ if ls _maps/*.json | grep -P "[A-Z]"; then
echo "Uppercase in a map json detected, these must be all lowercase."
st=1
fi;
if grep -i '/obj/effect/mapping_helpers/custom_icon' _maps/**/*.dmm; then
echo "Custom icon helper found. Please include dmis as standard assets instead for built-in maps."
st=1
fi;
for json in _maps/*.json
do
map_path=$(jq -r '.map_path' $json)
-12
View File
@@ -1,12 +0,0 @@
#!/bin/bash
set -euo pipefail
source dependencies.sh
source ~/.nvm/nvm.sh
nvm install $NODE_VERSION
nvm use $NODE_VERSION
npm install --global yarn
pip3 install --user PyYaml
pip3 install --user beautifulsoup4
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
set -euo pipefail
source dependencies.sh
if [[ -e ~/.nvm/nvm.sh ]]; then
source ~/.nvm/nvm.sh
nvm install $NODE_VERSION
nvm use $NODE_VERSION
fi
-1
View File
@@ -2,7 +2,6 @@
set -euo pipefail
tools/deploy.sh ci_test
rm ci_test/*.dll
mkdir ci_test/config
#test config