Getting Started

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

Scripts are custom commands that can be run using this project's environment. This project has the following scripts:

Shell Init Hook

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

Packages

Script Details

devbox run build

zig build

devbox run clean

rm -rf zig-out zig-cache

devbox run run

zig build run

devbox run test

zig build test

devbox run test-watch

watchexec --exts zig --watch src 'clear && zig build test'