mirror of
https://git.pumpin.online/funkpower/typikon.git
synced 2026-10-22 18:57:13 +00:00
the README examples must not depend on a fetched menaion
The checker isolated XDG_CONFIG_HOME and not XDG_DATA_HOME, so the two Ruthenian examples were verified against the MCI menaion this machine has fetched and CI does not. They passed here and failed there, which is the checker working: a reader running them after a fresh install gets the common menologion, and that is what the README now shows. Both examples still make their point. The commemorations are worded differently; the fast, the obligations and the contrast between them are identical either way.
This commit is contained in:
@@ -51,9 +51,13 @@ def main():
|
||||
print(f" {BINARY} not built; run cargo build --release", file=sys.stderr)
|
||||
return 77
|
||||
env = dict(os.environ, COLUMNS="88")
|
||||
# The examples must not depend on whatever this machine remembers.
|
||||
# The examples must not depend on whatever this machine remembers, nor on
|
||||
# a menaion this machine happens to have fetched. A reader running them
|
||||
# after a fresh install has neither, and the README should show what they
|
||||
# get: without this the Ruthenian examples passed here and failed in CI.
|
||||
env.pop("TYPIKON_JURISDICTION", None)
|
||||
env["XDG_CONFIG_HOME"] = str(ROOT / "target" / "readme-config")
|
||||
env["XDG_DATA_HOME"] = str(ROOT / "target" / "readme-data")
|
||||
|
||||
text = (ROOT / "README.md").read_text(encoding="utf-8")
|
||||
checked = bad = skipped = 0
|
||||
|
||||
Reference in New Issue
Block a user