facebook / facebook/buck2

Add support for excluding targets in `buck2 build`

Open
#873 4 comments 1 reaction 0 assignees View on GitHub
UX
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

At work, we generate test targets with different sets of modifiers so that `buck2 test ...` builds/test a project with various configurations.
We tag the targets with non-default modifiers with an `extra_test` label, so that we can do `buck2 test --exclude extra_test ...` for faster iteration cycles.

As far as I can tell, there is no way to do the same thing for `buck2 build`. Is this intentional?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.