Replace all-themes bat logic with PowerShell to survive branch checkout; add api-admin and full-themes service modes; fix bat findstr path check and cmd exit codes; document six-in-one tar and update gitignore for player/full-themes artifacts.
14 lines
604 B
Batchfile
14 lines
604 B
Batchfile
@echo off
|
|
REM Thin launcher for build-and-export-all-themes.ps1
|
|
REM CMD reads batch files line-by-line from disk; git checkout to theme-* removes
|
|
REM this file from the working tree. PowerShell loads the script into memory first.
|
|
REM
|
|
REM Usage:
|
|
REM docs\docker\build-and-export-all-themes.bat
|
|
REM docs\docker\build-and-export-all-themes.bat --use-cache
|
|
REM docs\docker\build-and-export-all-themes.bat --export-only
|
|
REM docs\docker\build-and-export-all-themes.bat --skip-api-admin
|
|
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0build-and-export-all-themes.ps1" %*
|
|
exit /b %ERRORLEVEL%
|