+4
justfile
+4
justfile
+8
scripts/pre-commit
+8
scripts/pre-commit
···
1
+
#!/bin/sh
2
+
# auto-update zig dependencies pointing to /archive/main
3
+
4
+
# update zat hash if it changed
5
+
zig fetch --save "https://tangled.org/zzstoatzz.io/zat/archive/main" 2>/dev/null || true
6
+
7
+
# stage the updated build.zig.zon if it changed
8
+
git diff --quiet build.zig.zon || git add build.zig.zon