Skip to content

Repository files navigation

Monorepo

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.

Initialize

On the host:

git clone https://github.com/rdong8/monorepo.git
cd cpp_project/

Bootstrap the host:

just initialize-host

Then 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.

Development Workflow

Build and serve the doxygen documentation:

just docs

Register pre-commit hooks to run automatically:

just pre-commit-install
just pre-commit # Or manually run it

Clean the Bazel build directories (you shouldn't actually ever have to do this):

just clean

About

Personal project/experiment monorepo

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages