bazelbuild/bazel

Add aquery configuration() function

Open

#10 872 ouverte le 28 févr. 2020

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Java (4 465 forks)batch import
P3help wantednot staleteam-Performancetype: feature request

Métriques du dépôt

Stars
 (25 384 stars)
Métriques de merge PR
 (Merge moyen 22j 20h) (77 PRs mergées en 30 j)

Description

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))'

Guide contributeur