a
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
Executable
+10
@@ -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
|
||||
@@ -2,7 +2,6 @@
|
||||
set -euo pipefail
|
||||
|
||||
tools/deploy.sh ci_test
|
||||
rm ci_test/*.dll
|
||||
mkdir ci_test/config
|
||||
|
||||
#test config
|
||||
|
||||
Reference in New Issue
Block a user