NAnt
Help
Function Reference
directory::exists |
v0.92 |
Determines whether the given path refers to an existing directory on disk.
bool directory::exists(path)
| Name | Type | Description |
|---|---|---|
| path | string | The path to test. |
Remove directory "test", if it exists.
<delete dir="test" if="${directory::exists('test')}" />