Practical Bazel: Excluding Part of Tree
Practical Bazel bazel
Published: 2020-10-28
Practical Bazel: Excluding Part of Tree

Quick Bazel tip for today: If you want to build everything except for a specific subtree, you can prefix the subtree you want to exclude with a -.

For example, to build everything except for //client_access_library/...:

bazel build -- //... -//client_access_library/...