FsMake


ExitCodeCheckOption Type

Process exit code check options.

Union cases

Union case Description

CheckCode code

Full Usage: CheckCode code

Parameters:
    code : int - The exit code to check for.

Checks that the exit code is equal to the specified exit code.

code : int

The exit code to check for.

CheckCodeNone

Full Usage: CheckCodeNone

Does not check the exit code.

CheckCodeWithMessage(code, message)

Full Usage: CheckCodeWithMessage(code, message)

Parameters:
    code : int - The exit code to check for.
    message : string - The message to print when not exit code is not matched.

Checks that the exit code is equal to the specified exit code and prints the specified message when it is not.

code : int

The exit code to check for.

message : string

The message to print when not exit code is not matched.

CheckCodeZero

Full Usage: CheckCodeZero

**Default**. Checks that the exit code is 0.

CheckCodeZeroWithMessage message

Full Usage: CheckCodeZeroWithMessage message

Parameters:
    message : string - The message to print when the exit code is not 0.

Checks that the exit code is 0 and prints the specified message when it is not.

message : string

The message to print when the exit code is not 0.