Fuck it, lets do the templates too.

This commit is contained in:
MrStonedOne
2017-01-19 22:50:19 -08:00
parent bdceba9d71
commit 50ed427d6f
4 changed files with 6 additions and 3 deletions

View File

@@ -10,7 +10,6 @@ env:
- DM_MAPFILE=""
matrix:
- BUILD_TOOLS=true
- DM_MAPFILE="templates"
- DM_MAPFILE="loadallmaps"
cache:

View File

@@ -44,6 +44,10 @@
#undef TRAVIS_MASS_MAP_BUILD
#ifdef TRAVISBUILDING
#include "templates.dm"
#endif
#include "runtimestation.dm"
#define BYOND_WHY_YOU_NO_ALLOW_INCLUDE_LAST_LINE //because byond fails to compile if the last thing in a file is an include.

View File

@@ -5,6 +5,6 @@ if [ "$BUILD_TOOLS" = true ]; then
cd tgui && source ~/.nvm/nvm.sh && npm install && cd ..
fi;
if [ "$DM_MAPFILE" = "templates" ]; then
if [ "$DM_MAPFILE" = "loadallmaps" ]; then
python tools/travis/template_dm_generator.py
fi;

View File

@@ -7,5 +7,5 @@ shopt -s globstar
if [ "$BUILD_TOOLS" = false ]; then
(! grep 'step_[xy]' _maps/**/*.dmm)
source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
tools/travis/dm.sh -M${DM_MAPFILE} tgstation.dme
tools/travis/dm.sh -DTRAVISBUILDING -M${DM_MAPFILE} tgstation.dme
fi;