cd 2021
cargo run day-XX # e.g. day-01
cd 2020
# run all tests
bazelisk test //...
# run a single day
bazelisk run //src:day-01
cd 2019
wget -O third_party/catch.hpp https://github.com/catchorg/Catch2/releases/download/v2.11.0/catch.hpp
make day_<day_num>
make day_<day_num>_test
brew install ocaml
brew install opam
opam init
opam install ocamlbuild
# add packages installed via opam to PATH
echo export PATH="\$PATH:$HOME/.opam/default/bin" >> ~/.bashrc
# assuming cwd contains some_file.ml
ocamlbuild some_file.native
./some_file.native