Files
marqdo/scripts/build-public.sh
T
cflmyandCursor 96a7c6ce76 Consolidate layout: tests fixtures, public user docs, and view site.
Move gold samples under tests/, put executable user docs in public/, restyle view, and add catalog plus gh-pages publish workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 14:49:44 +08:00

8 lines
285 B
Bash

#!/usr/bin/env bash
# Generate HTML next to public/*.mq.md via the Marqdo interpreter.
set -euo pipefail
cd "$(dirname "$0")/.."
cargo build --release -q
./target/release/marqdo view output public -o public
echo "OK → public/index.html + public/pages/ (sources: public/**/*.mq.md)"