tensorush/liza
Zig codebase initializer.
23f466431f307bbb06d10513a9cc8469c5a69f17
d1450f20373c6e9e7145900348b56051aba8ee48
git clone https://codeberg.org/tensorush/liza.git
cd liza/
zig build run -- -h
wget https://github.com/tensorush/liza/releases/latest/download/<archive>
tar -xf <archive> # Unix
unzip <archive> # Windows
./<binary> -h
liza
dependency to build.zig.zon
:zig fetch --save git+https://codeberg.org/tensorush/liza.git
liza
dependency in build.zig
:const liza_dep = b.dependency("liza", .{
.target = target,
.optimize = optimize,
});
const liza_mod = liza_dep.module("liza");
<std.Build.Step.Compile>.root_module.addImport("liza", liza_mod);
exe
):install
(default):check
(see below).run
: Zig executable run.release
: Release binaries' installation and archiving.lib
):install
(default):check
(see below).run
: Example run.bld
):install
(default):app
):test
: Test suite execution.fmt
: Formatting check execution.doc
($d
): Documentation emission (--add-doc
).cov
($c
): Code coverage generation (--add-cov
).check
($k
): Compilation check for ZLS Build-On-Save (--add-check
).install
:test
: Test suite execution.fmt
: Formatting check execution.cov
: Either exe
's or lib
's code coverage publication to Codecov (--add-cov
).--add-doc
) Jobs:emit
→deploy
: Either exe
's or lib
's documentation emission and deployment to GitHub Pages or Codeberg Pages:repository:write
permission and add it as TOKEN
secret available on Push
event.EMAIL
secret available on Push
event.release
: exe
's release publication using minisign
:minisign -GW
../minisign.pub
as MINISIGN_PUBLIC_KEY
secret (available on Tag
event in Woodpecker).~/.minisign/minisign.key
as MINISIGN_SECRET_KEY
secret (available on Tag
event in Woodpecker).misc:read
and repository:write
permissions and add it as TOKEN
secret available to woodpeckerci/plugin-release
on Tag
event.$y
: Current year.$n
: User name..gitignore
Template:$c
: Code coverage artifacts..gitattributes
.