https://pantsbuild.org/ logo
w

witty-crayon-22786

09/10/2020, 5:16 PM
random thought: perhaps target types should have default names similar to how they have default globs
👖 1
🔥 1
h

happy-kitchen-89482

09/11/2020, 6:44 PM
Hmm, this may be much better than defaulting to the directory name.
w

witty-crayon-22786

09/11/2020, 6:46 PM
possibly. see the thread below though: we normalize the “default” target everywhere now which makes addresses shorter… we’d lose that if we did this.
or the default name on a target type would need to be a tri-state of
{no_default, default_to_directory, "literal_default"}
… confusing probably.
…and challenging to decide in that position.