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 | 4535b23db82f7bf786f33dbb8e686e759b12afb8 (patch) | |
tree | ce9e20f7666aff080d476749eea27773b3f227e9 | |
parent | 0a8c29be3d0c97bf8ba0bcd4e4c694a660a9abd4 (diff) | |
download | justbuild-4535b23db82f7bf786f33dbb8e686e759b12afb8.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-- | rules/data/RULES | 8 |
1 files 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"} + } } } } |