PureXML/scripts/check-all.sh
Mihaela Mihaljevic 0f3086c8e6 docs(roadmap): add Apple-palette mermaid roadmap and the roadmap gate
Follow the mihaela-agents mermaid rule: add a README roadmap using the TileDown
Apple-color status classes (done/review/epic/todo), legend block first, then a
libxml2-parity roadmap showing shipped vs open work. Add docs/rules/mermaid.md
and scripts/check-roadmap.sh (wired into check-all.sh) so the diagrams stay
mechanically checkable.
2026-06-08 00:58:50 +02:00

26 lines
874 B
Bash
Executable File

#!/usr/bin/env bash
# Full local verification gate for PureXML.
#
# Runs the checks required before completion. The Linux and WASM gates are
# available as separate scripts (scripts/check-linux.sh, scripts/check-wasm.sh)
# and run in hosted CI; they are not chained here so this gate stays runnable on
# any machine without remote infrastructure or a Wasm SDK.
set -euo pipefail
run_gate() {
name="$1"
shift
printf '\n==> %s\n' "$name"
"$@"
}
run_gate "style" bash scripts/check-style.sh
run_gate "namespacing" bash scripts/check-namespacing.sh
run_gate "forbidden patterns" bash scripts/check-forbidden-patterns.sh
run_gate "roadmap" bash scripts/check-roadmap.sh
run_gate "swiftformat" swiftformat . --config .swiftformat --lint
run_gate "swiftlint" swiftlint --config .swiftlint.yml --strict
run_gate "swift build" swift build
run_gate "swift test" swift test