blob: bf648fc8845189c916b77c42620c9772c6972922 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Usage: %{product} %{command} <options> <query-expression>
Executes a query language expression over a specified subgraph of the
build dependency graph.
For example, to show all C++ test rules in the strings package, use:
% %{product} query 'kind("cc_.*test", strings:*)'
or to find all dependencies of //path/to/package:target, use:
% %{product} query 'deps(//path/to/package:target)'
or to find a dependency path between //path/to/package:target and //dependency:
% %{product} query 'somepath(//path/to/package:target, //dependency)'
%{options}
|