From eaf4587f032549d79400fd4de9aba7c65e6c2fa2 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. --- data/RULES | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/RULES b/data/RULES index 34bc624..17ac2d9 100644 --- a/data/RULES +++ b/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