mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 16:09:15 +00:00
Fuck it, lets do the templates too.
This commit is contained in:
@@ -10,7 +10,6 @@ env:
|
||||
- DM_MAPFILE=""
|
||||
matrix:
|
||||
- BUILD_TOOLS=true
|
||||
- DM_MAPFILE="templates"
|
||||
- DM_MAPFILE="loadallmaps"
|
||||
|
||||
cache:
|
||||
|
||||
@@ -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.
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user