1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# zat
# show available commands
default:
@just --list
# format code
fmt:
zig fmt build.zig build.zig.zon src scripts examples pbt
# check formatting and import paths (CI)
check:
zig build check
# enable checks against the staged tree before each commit
setup:
git config --local core.hooksPath .githooks
# run tests
test:
zig build test --summary all -freference-trace
# run CBOR codec benchmarks
bench:
zig build bench -Doptimize=ReleaseFast