Monorepo for my personal projects. Also serves as a demo for doing things the "right way". This always means using the most correct, most modern, most powerful tool for the job. There is no such thing as overkill.
On the host:
git clone https://github.com/rdong8/monorepo.git
cd cpp_project/Bootstrap the host:
just initialize-hostThen run id on the host to determine your user's UID and GID. Use that to fill in the build.dockerfile.args.HOST_UID and build.dockerfile.args.HOST_GID values in the devcontainer.json file.
Then set the dotfiles.repository setting in VS Code to your dotfiles repository. Note that your install script MUST add Linuxbrew to the fish PATH.
Then build the devcontainer. All commands after this point are to be run in the devcontainer, not on the host.
Build and serve the doxygen documentation:
just docsRegister pre-commit hooks to run automatically:
just pre-commit-install
just pre-commit # Or manually run itClean the Bazel build directories (you shouldn't actually ever have to do this):
just clean