NAnt
Help
Task Reference
<mkdir> |
v0.92-rc1 |
[This is preliminary documentation and subject to change.]
Creates a directory and any non-existent parent directory if necessary.
| Attribute | Type | Description | Required |
|---|---|---|---|
| dir | directory | The directory to create. | True |
| failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False |
| if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. |
False |
| verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False |
Create the directory build.
<mkdir dir="build" />
Create the directory tree one/two/three.
<mkdir dir="one/two/three" />