tsunaminoai/aoc2024
✨ Advent of Code 🎄
refsThis 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!' > /dev/null
zig build -Doptimize=Debug run
zig build -Doptimize=ReleaseFast run
zig build -Doptimize=ReleaseSafe run
zig build -Doptimize=ReleaseSmall run
zig build -Doptimize=Debug test
zig build --watch test