Releases: kristoff-it/zine
v0.2.0
The build system flexibility update (part 1)!
-
Upgrading from v0.1: in your
build.zig
changetry zine.addWebsite
tozine.website
. -
addWebsite
andaddMultilingualWebsite
have been renamed towebsite
andmultilingualWebsite
respectively (and now don't return an error anymore) -
To align with
std.Build
's naming convention (where 'add' functions create steps but don't wire them to the default install step),addWebsite
andaddMultilingualWebsite
are now more low-level functions for defining build pipelines that allow you to customize more things:- You can have other build steps depend on the website being built
- You can specify if and how the development webserver is bound to a named step
- et cetera
To learn how to use this more fine-grained API, look at the implementation of
website
andmultilingualWebsite
. -
As suspected, in the last release I did not proprely wire the dependency on
zig-afl-kit
as a lazy dependency and that caused build errors to some. This is now fixed in this release. Sorry!
The next item on the roadmap is to add an asset system to Zine in order to have the static content generation depend on other steps defined in your build script.