diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-22 13:54:03 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-22 13:56:25 +0200 |
commit | eaf4587f032549d79400fd4de9aba7c65e6c2fa2 (patch) | |
tree | a12fe316da77089fdbd9cf4856ee5a587ab23781 | |
parent | 9b38c5822c109e92a3a6c2d9a26582f9e65d3f9b (diff) | |
download | rules-cc-eaf4587f032549d79400fd4de9aba7c65e6c2fa2.tar.gz |
rule ["data", "staged"]: behave more file like
... by presenting the data both, as artifacts and as runfiles
in the same way as inputs do.
-rw-r--r-- | data/RULES | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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"} + } } } } |