motorino/internal/build
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 52edb15b64
All checks were successful
check / check (pull_request) Successful in 29s
feat(build): report the old files of the output folder, add -clean
A build never emptied the output folder, so the pages of a list that got shorter stayed
behind. The build now returns the files it did not write and the command prints a
warning that names them. -clean empties the folder first, only when it is new, empty or
holds the .motorino-out file that an earlier -clean left, and never the folder of the site
or one that holds it. The default is unchanged: no extra file in a folder built without it,
so the deploy (a new folder published with rsync --delete) is not affected.

Refs #9
2026-11-16 12:49:17 +01:00
..
blog.go fix(news): group the archive by the month as written, drop the empty lists 2026-11-16 12:48:17 +01:00
blog_test.go fix(news): group the archive by the month as written, drop the empty lists 2026-11-16 12:48:17 +01:00
build.go feat(build): report the old files of the output folder, add -clean 2026-11-16 12:49:17 +01:00
build_test.go feat(feed): carry the full text in content:encoded 2026-11-16 12:09:03 +01:00
context.go feat(news): blog list with pages, and an archive by year and month 2026-11-16 12:08:07 +01:00
date.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
date_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
feed.go feat(feed): carry the full text in content:encoded 2026-11-16 12:09:03 +01:00
feed_test.go feat(feed): carry the full text in content:encoded 2026-11-16 12:09:03 +01:00
fixture_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
news.go feat(news): show the posts of the lists as note panels 2026-11-16 12:32:09 +01:00
news_test.go feat(news): hide drafts and future posts, give the news one language 2026-11-16 12:04:50 +01:00
output.go feat(build): report the old files of the output folder, add -clean 2026-11-16 12:49:17 +01:00
output_test.go feat(build): report the old files of the output folder, add -clean 2026-11-16 12:49:17 +01:00
pages.go fix(news): group the archive by the month as written, drop the empty lists 2026-11-16 12:48:17 +01:00
post.go feat(news): a post page with date, author, categories, summary and links 2026-11-16 12:06:55 +01:00
robots.go feat: assemble the site from content, templates and assets 2026-11-15 09:50:58 +01:00