b2
b2 copied to clipboard
allow tag feature for virtual-targets with exact name or without type
trafficstars
Proposed changes
Allow <tag> feature to run on virtual targets with exact name or without type.
Currently <tag> is disabled on make targets and other targets with exact name or without type. This makes it unnecessary hard to create targets which has name that depends on the property set. I looked at the history of this behaviour, and it seems to be a remnant of not adding type affixes to sucha targets. At one point <tag> handling was added, but the check for having a type and not having an exact name remained.
Types of changes
- [X] New feature (non-breaking change which adds functionality)
Alternative
Alternative approach is to keep <tag> disabled when name is exact, and just change make targets to not set name to exact.