* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
28 lines
814 B
Bash
Executable File
28 lines
814 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#nb: must be bash to support shopt globstar
|
|
set -e
|
|
shopt -s globstar
|
|
|
|
if [ "$BUILD_TOOLS" = false ]; then
|
|
if grep 'step_[xy]' _maps/**/*.dmm; then
|
|
echo "step_[xy] variables detected in maps, please remove them."
|
|
exit 1
|
|
fi;
|
|
if grep '/turf\s*[,\){]' _maps/**/*.dmm; then
|
|
echo "base /turf path use detected in maps, please replace with proper paths."
|
|
exit 1
|
|
fi;
|
|
if grep '^/*var/' code/**/*.dm; then
|
|
echo "Unmanaged global var use detected in code, please use the helpers."
|
|
grep '^var/' code/*.dm | echo
|
|
exit 1
|
|
fi;
|
|
source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
|
|
if [ "$BUILD_TESTING" = true ]; then
|
|
tools/travis/dm.sh -DTRAVISBUILDING tgstation.dme
|
|
else
|
|
tools/travis/dm.sh -DTRAVISBUILDING -DTRAVISTESTING -DALL_MAPS tgstation.dme
|
|
fi;
|
|
fi;
|