Another fix

This commit is contained in:
Dandaedre 2026-07-30 18:41:47 +02:00 committed by Dandaedre
parent 7b26cffed3
commit f085ec73ec
3 changed files with 6 additions and 5 deletions

6
Jenkinsfile vendored
View File

@ -9,7 +9,7 @@ def deployTo(String targetDir) {
sh "rsync -a --delete \"enc_${MSTR_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${FULL_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${PLYR_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${HNDB_DIR}*\" \"${targetDira}/\""
sh "rsync -ar --delete --mkpath \"${HNDB_DIR}\" \"${targetDir}/${HNDB_DIR}\""
}
pipeline {
agent { label 'latex_no_docker' }
@ -38,7 +38,7 @@ pipeline {
stage('Install ravenous-tools') {
steps {
sh 'cargo +nightly --debug install --git https://proxy.dandaedre.com/gitea/Ravenous/ravenous-tools.git || echo "ravenous-tolls already installed"' // Install the latest mdBooks
sh 'cargo +nightly install --debug --git https://proxy.dandaedre.com/gitea/Ravenous/ravenous-tools.git || echo "ravenous-tolls already installed"' // Install the latest mdBooks
}
}
@ -155,6 +155,6 @@ def runBuild(String deployDir) {
// sh "ravenous-tools make -t glossaries ${texFile}"
// sh "ravenous-tools make -N ${texFile}" // second build for correct references
// }
sh './build.sh --raw full'
sh "./all_players.sh --raw"
sh './build.sh --raw full'
}

View File

@ -52,7 +52,7 @@ for entry in "${entries[@]}"; do
# - `$options` expands into its constituent arguments (unquoted)
# - `"${wrapper_opts[@]}"` appends whatever the user typed after
# this wrapper script, *verbatim*.
./build.sh player $options "${wrapper_opts[@]}"
./build.sh "${wrapper_opts[@]}" player $options
# The build step is expected to produce a file named:
# Player_handbook_build.pdf

View File

@ -150,6 +150,7 @@ case "$MODE" in
mkdir -p ~/.local/share/fonts/
mkdir -p ./Images/Radar/
mkdir -p ./Bestiaire/
mkdir -p ./Handbooks/
cp ./Ressources/lmroman8-regular.ttf ~/.local/share/fonts/
@ -216,7 +217,7 @@ case "$MODE" in
run_podman make -t clean Ravenous_build.tex || exit $?
run_podman graphs remove || exit $?
rm -f ./Ravenous_build.* ./Player_handbook_build.* Bestiaire/*
rm -f ./Handbooks/*
rm -rf ./Handbooks/
echo "--- Cleanup Completed Successfully ---"
;;