Repository navigation
v1.5.0 — zig-build-argv takes its steps optionally
Summary
zig-build-argv takes its steps as an optional first argument, so the common
call names the build options and nothing else. The argv it builds is unchanged,
and so is the rest of the library, the command line and the file formats.
Added
-
zig-build-argvtakes its steps as an optional first argument. Omitting
them, or passing'(), builds Zig's default install step:(zig-build-argv #:optimize "ReleaseSafe") ;; => ("zig" "build" "-Doptimize=ReleaseSafe")
which used to need
(zig-build-argv '() #:optimize "ReleaseSafe"). -
The docstring says which shape a step has -- a step name is a string, and
several steps are a list of them -- anddocs/zig.orgshows the short form
beside the long one. -
test/veritas/unit/zig.scmcovers the call that names no steps at all,
beside the one that passes an empty list.
Changed
- A call that names its steps builds the same argv as before, whether it passes
one step name as a string or a list of them, so a Maak file written against
v1.4.0 needs no edit.
Verification
- The full Veritas suite is green on the release commit (
./scripts/maak-test,
exit 0): 37 spec files, no failures, no aborted cases -- including the spec
that compares every copy of the version and the one that resolves every
file:link in the guide. maak sync-versionrewrote the six copies it owns (the RPM spec, the Arch
recipe, the Void template, the Homebrew formula, the manual page and the
installation page) and committed them aschore: Release v1.5.0, which is
the commit this tag names. The Debian changelog entry is written by hand,
because that task does not own it.- The Arch recipe's, the Homebrew formula's and the Void template's checksums
are refreshed from the published tag after the push.
Notes
- Nothing else changed: no new option, environment variable, exit code or file
format.
🤖 Generated with ECA