NAnt
Help
Introduction |
v0.85-nightly-2005-10-11 |
[This is preliminary documentation and subject to change.]
NAnt is available in either a source or binary distribution. The binary distribution is all you need to use NAnt to build your projects, including creating your own custom tasks, types and functions.
If you are upgrading NAnt from a previous version, you must never install over the top of your previous installation. Delete or rename the existing installation directory before installing the new version of NAnt.
nant-bin.zip or
nant-bin.tar.gz will work, the contents of each archive are the
same.nant.bat in a directory that is included in the PATH system environment variable. (eg. C:\WINDOWS).
nant.bat:
@echo off
"C:\Program Files\NAnt\bin\NAnt.exe" %*
nant.bat in a directory that is included in the PATH system environment variable. (eg. C:\WINDOWS).
nant.bat:
@echo off
mono "C:\Program Files\NAnt\bin\NAnt.exe" %*
nant in a suitable location in your filesystem (eg. /usr/local/bin).
nant:
#!/bin/sh
exec mono /usr/local/nant/bin/NAnt.exe "$@"
nant has permission to execute, eg:
chmod a+x /usr/local/bin/nant
nant -help. If
successful, you should see a usage message displaying available command line
options.nant-src.zip or
nant-src.tar.gz will work, the contents of each archive are the
same.make install MONO= MCS=csc prefix=installation-path
eg. make install MONO= MCS=csc prefix="C:\Program Files"
nmake -f Makefile.nmake install prefix=installation-path
eg. nmake -f Makefile.nmake install prefix="C:\Program Files"
make install prefix=installation-path
eg. make install prefix="C:\Program Files"
nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=installation-path
eg. nmake -f Makefile.nmake install MONO=mono CSC=mcs prefix=/usr/local/
This will first build a bootstrap version of NAnt, and then
use that to build and install the full version to
installation-path/NAnt.