summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-04-22 13:54:03 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-04-22 13:56:25 +0200
commiteaf4587f032549d79400fd4de9aba7c65e6c2fa2 (patch)
treea12fe316da77089fdbd9cf4856ee5a587ab23781 /data
parent9b38c5822c109e92a3a6c2d9a26582f9e65d3f9b (diff)
downloadrules-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.
Diffstat (limited to 'data')
-rw-r--r--data/RULES8
1 files changed, 6 insertions, 2 deletions
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"}
+ }
}
}
}