TABLE OF CONTENTS
nant.cygclass
[ Top ] [ Cygclasses ] [ Cygclasses ]
SYNOPSIS
inherit nant
DESCRIPTION
NAnt is a build system written in .NET and used in some .NET projects. The build is controlled by a single XML file, named '*.build' by default, which specifies the targets to be built, the commands to build them, and the options which may be given to control the build.
NAnt includes support for a number of commands (called tasks), including compiling and executing .NET code, generating documentation, downloading files, de/compressing archives, and running testsuites. Third-party NAnt tasks also exist to support additional commands.
This cygclass builds packages which use the NAnt build system.
INHERITS
REQUIRES
nant
NANT
[ Top ] [ nant.cygclass ] [ Definitions ]
DESCRIPTION
Absolute path to the NAnt build tool.
NANT_BUILD_FILE
[ Top ] [ nant.cygclass ] [ Variables ]
DESCRIPTION
Name or relative path of the NAnt build file. This need only be defined if it is not '*.build' (the default).
cygnant
[ Top ] [ nant.cygclass ] [ Compile Functions ]
SYNOPSIS
cygnant [OPTIONS]
DESCRIPTION
Runs NAnt with the given options, if any.
donanttask
[ Top ] [ nant.cygclass ] [ Install Functions ]
SYNOPSIS
donanttask ASSEMBLY [ASSEMBLY] ...
DESCRIPTION
Installs the given assembly file(s) into the NAnt task directory.
NANT_BUILD_ARGS
[ Top ] [ nant.cygclass ] [ Variables ]
DESCRIPTION
Arguments to pass to the NAnt build command if this src_compile is used.
NANT_BUILD_TARGETS
[ Top ] [ nant.cygclass ] [ Variables ]
DESCRIPTION
Target(s) to be built during the NAnt build command if this src_compile is used.
src_compile (nant)
[ Top ] [ nant.cygclass ] [ Overloads ]
DEFINITION
src_compile() { lndirs cd ${B} cygnant ${NANT_BUILD_ARGS} ${NANT_BUILD_TARGETS} }
NANT_TEST_ARGS
[ Top ] [ nant.cygclass ] [ Variables ]
DESCRIPTION
Arguments to pass to NAnt during testing if this src_test is used.
NANT_TEST_TARGETS
[ Top ] [ nant.cygclass ] [ Variables ]
DESCRIPTION
Target(s) to be built to run the testsuite if this src_test is used.
src_test (nant)
[ Top ] [ nant.cygclass ] [ Overloads ]
DEFINITION
src_test() { cd ${B} cygnant ${NANT_TEST_ARGS} ${NANT_TEST_TARGETS:-test} }