Add scripts-to-rule-them-all scaffold (closes #4) #5
Reference in New Issue
Block a user
Delete Branch "strta-conformance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the standard STRTA scaffold to this Hugo site, resolving #4.
Makefile— nine standard targets as thin@script/NAMEshims (hooks->@script/install-precommit), plus aserveconvenience target (hugo server).script/— executable POSIX-shentrypoints (bootstrap,setup,test,lint,fmt,fmt-check,check,docker,install-precommit,cibuild, and helpers), with Hugo-appropriate bodies:test/checkrun a cleanhugo --minifybuild;fmt/fmt-checkrun prettier scoped to the repo's own top-level docs only (content/is left untouched).Dockerfile(+.dockerignore) — pinned base; the build runsmake check, so the image build fails on any format or Hugo error..gitea/workflows/check.yml— runsscript/cibuild.Verified locally:
make checkanddocker build .both green. Scope is limited to the scaffold; the remaining non-STRTA items (LICENSE,REPO_POLICIES.md,.editorconfig, pinningdeploy.yml) are tracked separately.Merged to
mainafter an independent adversarial review (a reviewer separate from the author) verified it:make checkanddocker build .both re-run green, all nine standard targets are pure@script/*shims backed by a fullscript/set includingcibuild, theDockerfilegates onmake check, checks are real (no fake no-ops), scope is limited to the scaffold, and there are no AI/trailer hygiene issues. Verdict: PASS.Two trivial, non-blocking observations noted for optional future polish (not worth their own issue):
script/checkcomposesfmt-check+testbut does not callscript/lint, so Hugo's--printPathWarningsis not exercised in CI. Fine per STRTA; revisit only if you want path-collision warnings gated.script/install-precommitsays the hook runsscript/check; it actually runsscript/precommit(which callsscript/check) — accurate in effect, slightly imprecise in wording.