[wpkg-users] logical check "and"
Rainer Meier
r.meier at wpkg.org
Thu Jan 21 19:23:30 CET 2016
Hi,
> True on root level for simple checks; but AND is still necessary for more
> complex tests:
>
> <ckeck or>
> <check and>
> <check />
> <check />
> </check>
> <check and>
> <check />
> <check />
> </check>
> </check>
This is exactly true. The XML structure allows you to specify multiple checks
within the root element directly. WPKG will automatically use a logical AND for
them so all checks specified there are required to succeed.
But for nested checks you need to group checks with AND or OR statements.
Moreover you can use checks also in condidtional statements (for example to
execute commands only if WPKG runs on certain OS). Here you can group checks
with AND or OR as well.
br,
Rainer
More information about the wpkg-users
mailing list