diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-11-05 16:27:27 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-11-06 14:37:16 +0100 |
commit | a20974ba714485fe2d6fdb50340d4315d09cebbe (patch) | |
tree | e1f9a04e3fd9d4c4235de6ba35ce4b16efd9ea7a /rules/shell/test/RULES | |
parent | f8937f600f797fe82b346dfeffa954bcc5f47972 (diff) | |
download | justbuild-a20974ba714485fe2d6fdb50340d4315d09cebbe.tar.gz |
Use quote and quasi-quote to simplify some expressions
Diffstat (limited to 'rules/shell/test/RULES')
-rw-r--r-- | rules/shell/test/RULES | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/rules/shell/test/RULES b/rules/shell/test/RULES index 98fdab03..3d49db21 100644 --- a/rules/shell/test/RULES +++ b/rules/shell/test/RULES @@ -310,19 +310,16 @@ } ] , [ "artifacts" - , { "type": "map_union" + , { "type": "`" , "$1": - [ { "type": "singleton_map" - , "key": "pwd" - , "value": {"type": "BLOB", "data": "/summary"} - } - , {"type": "var", "name": "summary"} - , { "type": "singleton_map" - , "key": "work" - , "value": + { "pwd": + {"type": ",", "$1": {"type": "BLOB", "data": "/summary"}} + , "work": + { "type": "," + , "$1": {"type": "TREE", "$1": {"type": "var", "name": "attempts"}} } - ] + } } ] , [ "runfiles" |