summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-05 16:28:14 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-06 05:47:40 +0200
commitf6f32aa6d88b7bb1691fa80dffa31918b11be432 (patch)
treedb04b8bb6adcc8194beeccf26731bea4cc8ee7bb /README.md
parent6a467ee44c933af9755e4bf2d8308218a16710c7 (diff)
downloadrules-cc-f6f32aa6d88b7bb1691fa80dffa31918b11be432.tar.gz
["data", "staged"]: support dropping paths
In this way, GLOB constructs can be used more easily. As the dropping happens early, this can also be used to solve staging conflicts, by removing that logical path and later add a consolidated artifact to that path.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2e5d427..627c300 100644
--- a/README.md
+++ b/README.md
@@ -328,6 +328,7 @@ Stage data to a logical subdirectory.
| Field | Description |
| ----- | ----------- |
| `"stage"` | The logical directory to stage the files to. Individual directory components are joined with `"/"`. |
+| `"drop"` | List of paths to drop from (each of) the `"srcs"` targets before joining and staging. In this way, GLOB constructs can be used is `"srcs"`. |
| `"srcs"` | The files to be staged |
| `"deps"` | Targets of with their runfiles should be added as well. Their staging is not changed. |