From 4535b23db82f7bf786f33dbb8e686e759b12afb8 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 22 Apr 2022 13:54:03 +0200 Subject: rule ["data", "staged"]: behave more file like ... by presenting the data both, as artifacts and as runfiles in the same way as inputs do. --- rules/data/RULES | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rules/data/RULES b/rules/data/RULES index 34bc6242..17ac2d92 100644 --- a/rules/data/RULES +++ b/rules/data/RULES @@ -3,7 +3,7 @@ , "target_fields": ["srcs"] , "string_fields": ["stage"] , "field_doc": - { "srcs": ["The (run)files to be staged"] + { "srcs": ["The files to be staged"] , "stage": [ "The logical directory to stage the files to." , "Individual directory components are joined with \"/\"." @@ -36,7 +36,11 @@ } ] ] - , "body": {"type": "RESULT", "runfiles": {"type": "var", "name": "staged"}} + , "body": + { "type": "RESULT" + , "artifacts": {"type": "var", "name": "staged"} + , "runfiles": {"type": "var", "name": "staged"} + } } } } -- cgit v1.2.3