As you may know: A) a target with no name defaults...
# general
h
As you may know: A) a target with no name defaults to the name of the dir it's in, and B)
path/to/dir
on the cmd line or in BUILD target
dependencies
is currently shorthand for
path/to/dir:dir
. These are legacies from v1. However in v2's file-centric world, we want
path/to/dir
on the cmd line to mean "all the files under `path/to/dir`" (this is what it means for pretty much every underlying tool). And, in that proposed future, we're pondering what
path/to/dir
should mean in BUILD target
dependencies
. Basically, we're wondering about how to get from here to there, and how much deprecation to do. This affects existing users, so we welcome your opinions: https://github.com/pantsbuild/pants/issues/12286
1