Method | Description | |
---|---|---|
GetBuildFileName ( string directory, string searchPattern, bool findInParent ) : string |
Gets the file name for the build file in the specified directory.
|
|
Main ( string args ) : int |
Starts NAnt. This is the Main entry point.
|
|
ShowProjectHelp ( |
Prints the projecthelp to the console. buildDoc is loaded and transformed with |
Method | Description | |
---|---|---|
AddBuildListeners ( |
Add the listeners specified in the command line arguments, along with the default listener, to the specified project.
|
|
CreateListener ( string typeName ) : IBuildListener | ||
CreateLogger ( string typeName ) : IBuildLogger | ||
LoadExtensionAssemblies ( |
Loads the extension assemblies in the current AppDomain and scans them for extensions.
|
|
ShowHelp ( |
Spits out generic help info to the console.
|
|
WriteException ( |
Write the message of the specified Exception and the inner exceptions to Console.Error.
|
public static GetBuildFileName ( string directory, string searchPattern, bool findInParent ) : string | ||
directory | string | The directory to look for a build file. When in doubt use Environment.CurrentDirectory for directory. |
searchPattern | string | Look for a build file with this pattern or name. If null look for a file that matches the default build pattern (*.build). |
findInParent | bool | Whether or not to search the parent directories for a build file. |
return | string |
public static Main ( string args ) : int | ||
args | string | Command Line args, or whatever you want to pass it. They will treated as Command Line args. |
return | int |
public static ShowProjectHelp ( |
||
buildDoc | The build file to show help for. | |
return | void |