Open Source .NET Development [Electronic resources]

Brian Nantz

نسخه متنی -صفحه : 275/ 155
نمايش فراداده

<nant> Runs NAnt on a supplied build file. This can be used to build subprojects.

Attribute

Description

Required

buildfile

The build file to build. If not specified, use the current build file.

False

target

The target to execute. To specify more than one target, separate targets with a space. Targets are executed in order if possible. Default to use target specified in the project's default attribute.

False

inheritall

Specifies whether current property values should be inherited by the executed project. Default is false.

False

failonerror

Determines whether task failure stops the build or is just reported. Default is "true."

False

verbose

Task reports detailed build log messages. Default is "false."

False

if

If true then the task will be executed; otherwise skipped. Default is "true."

False

unless

Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false."

False

Example

<nant unless="${debug}" buildfile="${src.dir}/Extras/BuildServer/BuildServer.build"/>