samhuri.net/test
Sami Samhuri fc68fc58af Extract bake logic into lib/pressa and fold tasks back into one bake.rb
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.
2026-06-07 17:57:01 -07:00
..
config Improve test coverage of gemini renderer 2026-04-11 12:33:47 -07:00
posts Publish a Gemini site and link to it from the website (#36) 2026-02-14 17:18:09 -08:00
projects Publish a Gemini site and link to it from the website (#36) 2026-02-14 17:18:09 -08:00
utils Improve test coverage of gemini renderer 2026-04-11 12:33:47 -07:00
views Publish a Gemini site and link to it from the website (#36) 2026-02-14 17:18:09 -08:00
coverage_test.rb Extract bake logic into lib/pressa and fold tasks back into one bake.rb 2026-06-07 17:57:01 -07:00
drafts_test.rb Extract bake logic into lib/pressa and fold tasks back into one bake.rb 2026-06-07 17:57:01 -07:00
plugin_test.rb Migrate from Swift to Ruby (#33) 2026-02-07 21:19:03 -08:00
publish_test.rb Extract bake logic into lib/pressa and fold tasks back into one bake.rb 2026-06-07 17:57:01 -07:00
site_generator_rendering_test.rb Publish a Gemini site and link to it from the website (#36) 2026-02-14 17:18:09 -08:00
site_generator_test.rb Migrate from Swift to Ruby (#33) 2026-02-07 21:19:03 -08:00
site_test.rb Publish a Gemini site and link to it from the website (#36) 2026-02-14 17:18:09 -08:00
test_helper.rb Migrate from Swift to Ruby (#33) 2026-02-07 21:19:03 -08:00