Method | Description | |
---|---|---|
Fail ( string text ) : int |
Print an error to the console Format according to http://msdn.microsoft.com/en-us/library/b1csw23d.aspx |
Method | Description | |
---|---|---|
Build ( IEnumerable |
Runs build rules
|
|
BuildDependencies ( Rule buildRule ) : void |
Builds all dependencies listed in a given build rule
|
|
CheckTargets ( Rule build, bool haltOnFail = true ) : bool | ||
Clean ( IEnumerable |
||
CleanDependencies ( Rule buildRule ) : void |
Builds all dependencies listed in a given build rule
|
|
Exec ( string script ) : void |
Runs a command line script
|
|
GetEnvironment ( ) : string>.XDictionary |
Get the environment variables (key/value pairs) Path variable may differ in output from actual path on some systems Run «reg query "hklm\system\currentcontrolset\control\Session manager\Environment" /v path» to verify Character limit for path on Vista is 1024 http://support.microsoft.com/kb/924032 |
|
Git ( string cmdLine ) : IEnumerable |
Run a git command
|
|
Help ( ) : int |
Print usage notes (help) and logo
|
|
Hg ( string cmdLine ) : IEnumerable |
Run an Hg command
|
|
LocalChildBuilds ( Rule buildRule ) : IEnumerable |
||
Logo ( ) : void |
Print program logo, information an copyright notice once. Recurring calls to the function will not print "\n" (blank line) instead. |
|
Main ( string args ) : int |
Entry Point
|
|
ResetEnvironment ( ) : void |
Resets application Environment
|
|
SetCompilerSdkAndPlatform ( Rule build ) : void | ||
SetMingwCompiler ( string arch ) : void |
Set up environment and paths to use mingw
|
|
SetSDK ( string sdkName, string sdkBatchFile, string arch ) : void | ||
SetVCCompiler ( string compilerName, string compilerBatchFile, string arch ) : void | ||
SetWDK ( Rule build, string platform ) : void | ||
Status ( IEnumerable |
Checks if excess files are present in the project directory Throws ConsoleException if excess files are found |
|
SwitchCompiler ( string compiler, string platform ) : void |
Change the designated compiler
|
|
SwitchSdk ( string sdk, string platform ) : void | ||
Trace ( IEnumerable |
Trace a build process
|
|
TraceExec ( string script, string traceFile ) : void |
Traces the changes made by a specific script
|
|
Verify ( IEnumerable |
Checks if the process chain clean/build/clean leaves excess or unaccounted files Runs Clean, Build (and checks targets), Clean and Status (to check for excess files) |
|
WriteTempScript ( string text ) : string |
Create a temporary .cmd file
|
|
main ( IEnumerable |
This is the main procedure
|
public static Fail ( string text ) : int | ||
text | string | An error message |
return | int |