I have a query that effectively returns all labels for dependencies of a particular label. I want to know the actual file path of these dependencies.
$ bazel query 'deps(//foo:bar)' --noimplicit_deps
//baz:__init__.py
//baz:__baz__.py
--ouput location doesn't do the trick as it simply tells me this same label and the build file:line
my desired output is:
/some/path/baz/__init__.py
/some/path/baz/baz.py