Files
wordcraft/xtask/Cargo.toml
T
Max Murphy cee47681a3 M15 #1: add opt-in DOCX corpus harness
Adds cargo xtask docx-corpus: every .docx under a local corpus is opened and inspected, rendered to PNG (page 1 or all pages), saved to a temporary copy, reopened and compared by plain text and page count. Each stage runs in a bounded child wordcraft-cli process, failures are classified, and one bad file never stops the run.

The JSON report is sorted and timestamp-free, with a Markdown summary and rendered pages beside it. Missing and empty corpora exit successfully. The harness is local-only: /corpus stays git-ignored, only corpus/docx/README.md is tracked, and no Word-produced file or Word-vs-WordCraft visual comparison is added.
2026-11-02 22:38:29 +01:00

14 lines
221 B
TOML

[package]
name = "xtask"
version.workspace = true
edition.workspace = true
license.workspace = true
publish = false
[lints]
workspace = true
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }