1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-06-16 12:35:24 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
peteGSX
26d354c5bd Update template 2025-02-05 19:06:57 +10:00
peteGSX
b807218ba3 Update HTML dir 2025-02-05 19:00:40 +10:00
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ SOURCEDIR = .
# Determine build directory based on git branch
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
ifeq ($(BRANCH),master-exraildocdev)
BUILDDIR = _build/devel
BUILDDIR = _build/html/devel
else
BUILDDIR = _build
endif

View File

@ -10,7 +10,7 @@
<option value="/CommandStation-EX/"{% if version == "main" %} selected{% endif %}>
Production
</option>
<option value="/CommandStation-EX/devel/"{% if version == "devel" %} selected{% endif %}>
<option value="/CommandStation-EX/devel/html/"{% if version == "devel" %} selected{% endif %}>
Development
</option>
</select>

View File

@ -12,7 +12,7 @@ set SOURCEDIR=.
for /f "tokens=*" %%g in ('git rev-parse --abbrev-ref HEAD') do (set BRANCH=%%g)
if "%BRANCH%"=="master-exraildocdev" (
set BUILDDIR=_build\devel
set BUILDDIR=_build\html\devel
) else (
set BUILDDIR=_build
)