Files
Wallenc/Report/scripts/build-pz.sh

18 lines
631 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -euo pipefail
REPORT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
ROOT="$(cd "$REPORT_DIR/.." && pwd)"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
BODY_PDF="$REPORT_DIR/.Пояснительная_записка_ПытковРЕ.body.pdf"
cd "$REPORT_DIR"
python3 scripts/gen_listings.py
python3 scripts/gen_test_tables.py
python3 scripts/check_images.py
typst compile --root "$ROOT" ояснительная_записка_ПытковРЕ.typ" "$BODY_PDF"
# shellcheck source=merge_front_matter.sh
source "$SCRIPT_DIR/merge_front_matter.sh"
merge_front_into_pz "$REPORT_DIR" "$BODY_PDF"
rm -f "$BODY_PDF"