This template repository implements a polyglot monorepository structure using Bazel as the build tool.
- Builds are hermetic.
- Commits are atomic.
It is recommended you install Bazelisk to manage Bazel executions. It's primary benefit is to manage running the correct version of bazel for your workspace.
On Mac install via homebrew:
$ brew install bazelisk
You may also install manually via the Bazelisk Github Releases.
Once installed build is as simple as running the below command.
# if not using bazelisk replace w/ bazel
$ bazelisk build //...
Testing your projects is as simple as running the below command.
# if not using bazelisk replace w/ bazel
$ bazelisk test //...