bazelbuild/bazel

Add aquery configuration() function

Open

#10.872 aperta il 28 feb 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Java (4465 fork)batch import
P3help wantednot staleteam-Performancetype: feature request

Metriche repository

Star
 (25.384 star)
Metriche merge PR
 (Merge medio 22g 20h) (77 PR mergiate in 30 g)

Descrizione

Description of the problem / feature request:

When using aquery, it would be convenient to limit the output based on the action's configuration.

Feature requests: what underlying problem are you trying to solve with this feature?

For an iOS target, running bazel aquery 'deps(some/target)' will result in many iOS targets, but also some targets that are not iOS. One way to distinguish iOS targets from others is by configuration. Locally, I also see actions for apl-darwin_x86_64-fastbuild and darwin-fastbuild.

It would be convenient if I could write the query as:

bazel query 'configuration(ios-x86_64, deps(some/target))'

Guida contributor