rapid-bird-79300
08/26/2021, 4:18 PMapp/example::
)?hundreds-father-404
08/26/2021, 4:34 PMrapid-bird-79300
08/26/2021, 4:38 PMhundreds-father-404
08/26/2021, 5:11 PMexample::
is all targets in the dir and subdirsrapid-bird-79300
08/26/2021, 5:41 PMpants.build_graph.address.InvalidTargetName: Address spec app/example:: has no name part.
The BUILD file looks like this:
python_tests(
name="tests0",
dependencies=[
"app/example::"
]
)
hundreds-father-404
08/26/2021, 6:09 PMdependencies
field. If you find you're repeating yourself a lot, you can create a generic target
as a "bag of dependencies" https://www.pantsbuild.org/docs/reference-target. Or implement a custom dependency inference pluginrapid-bird-79300
08/26/2021, 6:13 PM