This repo is to setup a monrepo & yse bazel as build tool.
bazel info repository_cache
- shows the bazel cache locationbazel info output_base
- list the output base locationbazel clean --explunge
- removes all thebazel-*/
directories created by bazelbazel run $(bazel query "kind(buildifier, //...)")
- runs all thebuildifier
targets in the workspace
scrips/ci.sh
is a POC to builds only the chaged packages. Inspired from bazel's CI.
Good blog on how to write custom rules