aboutsummaryrefslogtreecommitdiff
path: root/tests/variable/type-pattern-append
AgeCommit message (Collapse)AuthorFilesLines
2016-07-16Add support for prepend/append in target type/pattern-specific varsBoris Kolpackov3-0/+69
Semantically, these are similar to variable overrides and are essentially treated as "templates" that are applied on lookup to the "stem" value that is specific to the target type/name. For example: x = [string] a file{f*}: x =+ b sub/: { file{*}: x += c print $(file{foo}:x) # abc print $(file{bar}:x) # ac }