This project uses devbox to manage its development environment.
Install devbox:
curl -fsSL https://get.jetpack.io/devbox | bash
Start the devbox shell:
devbox shell
Run a script in the devbox environment:
devbox run <script>
Scripts are custom commands that can be run using this project's environment. This project has the following scripts:
The Shell Init Hook is a script that runs whenever the devbox environment is instantiated. It runs
on devbox shell
and on devbox run
.
echo 'Welcome to devbox!'
devbox run
zig build
rm -rf zig-out zig-cache
zig build run
zig build test
watchexec --exts zig --watch src 'clear && zig build test'