https://pantsbuild.org/ logo
#general
Title
# general
f

flat-zoo-31952

01/19/2022, 7:24 PM
how do you reference a file as a dependency if you do that in another target though? Just putting
path/to/file.py
in the
dependencies
field of another target gives
Copy code
❯ ./pants dependencies src:alerting-config-ci
14:23:36.92 [ERROR] 1 Exception encountered:

  ResolveError: Directory 'path/to' does not contain any BUILD files.