summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/RULES9
1 files changed, 4 insertions, 5 deletions
diff --git a/data/RULES b/data/RULES
index 172fc2f..4c695e9 100644
--- a/data/RULES
+++ b/data/RULES
@@ -14,6 +14,7 @@
, "specified in \"stage\"."
]
, "runfiles_doc": ["Same as artifacts"]
+ , "imports": {"runfiles_list": ["./", "..", "field_runfiles_list"]}
, "expression":
{ "type": "let*"
, "bindings":
@@ -26,11 +27,9 @@
, [ "srcs"
, { "type": "disjoint_map_union"
, "$1":
- { "type": "foreach"
- , "var": "x"
- , "range": {"type": "FIELD", "name": "srcs"}
- , "body":
- {"type": "DEP_RUNFILES", "dep": {"type": "var", "name": "x"}}
+ { "type": "let*"
+ , "bindings": [["fieldname", "srcs"]]
+ , "body": {"type": "CALL_EXPRESSION", "name": "runfiles_list"}
}
}
]