diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-14 15:48:58 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-14 15:48:58 +0100 |
commit | 86144c718100d4b424d95a187c3ed4b9ffb04e8d (patch) | |
tree | dbbb9dd54a3ee49f6a565026a910e514c0ac4359 /rules/data | |
parent | 886c7b680928276d7f925d30fc206ca27d9a97d1 (diff) | |
parent | b1859c1ba4229812497da501e2843ab20d27682b (diff) | |
download | rules-cc-86144c718100d4b424d95a187c3ed4b9ffb04e8d.tar.gz |
Merge commit 'b1859c1ba4229812497da501e2843ab20d27682b' into rules
Diffstat (limited to 'rules/data')
-rw-r--r-- | rules/data/RULES | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/rules/data/RULES b/rules/data/RULES index 99c8e5c..feb1a73 100644 --- a/rules/data/RULES +++ b/rules/data/RULES @@ -19,7 +19,10 @@ , "specied in the field \"deps\" (in their original location)." ] , "runfiles_doc": ["Same as artifacts"] - , "imports": {"runfiles": ["./", "..", "field_runfiles"]} + , "imports": + { "runfiles": ["./", "..", "field_runfiles"] + , "artifacts": ["./", "..", "field_artifacts"] + } , "expression": { "type": "let*" , "bindings": @@ -32,7 +35,13 @@ , [ "srcs" , { "type": "let*" , "bindings": [["fieldname", "srcs"]] - , "body": {"type": "CALL_EXPRESSION", "name": "runfiles"} + , "body": + { "type": "map_union" + , "$1": + [ {"type": "CALL_EXPRESSION", "name": "runfiles"} + , {"type": "CALL_EXPRESSION", "name": "artifacts"} + ] + } } ] , [ "staged" |