diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-22 11:37:37 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-10 14:45:47 +0100 |
commit | 5ae5134804b6edaaffec593868f133dd840ef7df (patch) | |
tree | 2e5ac34c3e6a5896d04760bab310170503138009 /EXPRESSIONS | |
parent | a382b308b9011606e7d07376808812d51631d558 (diff) | |
download | rules-cc-5ae5134804b6edaaffec593868f133dd840ef7df.tar.gz |
rules: Add support for pkg-config
Diffstat (limited to 'EXPRESSIONS')
-rw-r--r-- | EXPRESSIONS | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/EXPRESSIONS b/EXPRESSIONS index b974026..55976f4 100644 --- a/EXPRESSIONS +++ b/EXPRESSIONS @@ -226,4 +226,20 @@ } } } +, "contains": + { "vars": ["list", "item"] + , "expression": + { "type": "or" + , "$1": + { "type": "foreach" + , "var": "entry" + , "range": {"type": "var", "name": "list"} + , "body": + { "type": "==" + , "$1": {"type": "var", "name": "entry"} + , "$2": {"type": "var", "name": "item"} + } + } + } + } } |