mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-06-23 04:44:54 +00:00
Pull the pure, testable logic out of the bake tasks into Pressa modules: - Pressa::Drafts — slugs, ordinal dates, draft paths, and the new-draft template - Pressa::Coverage — the coverage measurement script, output parsing, and baseline-ref resolution - Pressa::Publish — the rsync command builder Each gets its own tests, so this logic now sits under the lib/ coverage gate instead of being untested glue inside the task files. With the logic extracted, the namespaced bake/ split no longer earns its keep — those files were mostly thin task declarations. Collapse build/draft/publish/quality back into a single bake.rb with the original flat task names (new_draft, coverage, publish_beta, and so on) and update CI and AGENTS.md to match. |
||
|---|---|---|
| .. | ||
| config | ||
| posts | ||
| projects | ||
| utils | ||
| views | ||
| coverage_test.rb | ||
| drafts_test.rb | ||
| plugin_test.rb | ||
| publish_test.rb | ||
| site_generator_rendering_test.rb | ||
| site_generator_test.rb | ||
| site_test.rb | ||
| test_helper.rb | ||