From 6dc56faeba4dadfb2e61fbe7d31109075b35914b Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Sun, 2 Aug 2026 15:20:47 +0200 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 7 ++++--- build.sh | 16 ++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c9867c5..ab1a5ab 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,7 @@ pipeline { script { // ---------------------------------------------------- - // Branch lookup – feel free to add more names if needed. + // Branch lookup - feel free to add more names if needed. // ---------------------------------------------------- def reviewBranches = ['origin/review', 'review', 'origin/dev-ci','dev-ci'] @@ -145,8 +145,8 @@ def runBuild(String deployDir) { // /// Generate craft // sh 'ravenous-tools weapons all -e ./Craft/' - // /* Build each of the three TeX documents twice – once for a - // normal build, once to make sure the glossary / cross‑refs + // /* Build each of the three TeX documents twice - once for a + // normal build, once to make sure the glossary / cross-refs // are correctly updated. */ // ['Player_handbook.tex', // 'Master_handbook.tex', @@ -157,4 +157,5 @@ def runBuild(String deployDir) { // } sh './build.sh --raw full' sh "./all_players.sh --raw" + sh './build.sh --raw player' } diff --git a/build.sh b/build.sh index 62942e3..3bec68b 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ print_error() { } # ------------------------------------------------------------------ -# Argument parsing – first positional arg can be a mode or --help +# Argument parsing - first positional arg can be a mode or --help # ------------------------------------------------------------------ MODE=simple # default mode @@ -26,15 +26,15 @@ while [[ $# -gt 0 ]]; do Usage: ./build.sh [--help | ] [make-options …] Modes: - simple (default) – run a minimal build - clean – clean all build artifacts - player – build the player handbook - master – build the master handbook - balance – show all the balancing data - full – rerun a full build + simple (default) - run a minimal build + clean - clean all build artifacts + player - build the player handbook + master - build the master handbook + balance - show all the balancing data + full - rerun a full build Additional option: - raw – execute commands directly on the host using ravenous-tools instead of a Podman container + raw - execute commands directly on the host using ravenous-tools instead of a Podman container Everything that follows the mode is forwarded verbatim to `make` inside the container (or run directly when --raw is used).