NAnt
![]() ![]() ![]() |
v0.91 |
Checks whether the specified target exists.
bool target::exists(name)
Name | Type | Description |
---|---|---|
name | string | The target to test. |
Execute target "clean", if it exists.
<if test="${target::exists('clean')}"> <call target="clean" /> </if>