API Docs for: 0.0.1

Class GabaritoTask

Class defined in: lib/GabaritoTask.js:28

The gabarito task responsible for reading grunt options and dispatching the gabarito runner

GabaritoTask( runner )
lib/GabaritoTask.js:28
Parameters:
  • runner <gabarito::gabarito.plumbing.Runner>

Index

Methods

static GabaritoTask instance( )
lib/GabaritoTask.js:45

The singleton method for the GabaritoTask, used to register the task itself and should be used to register environments and reporters.


Returns: <GabaritoTask>
registerEnvironment( name, factory )
lib/GabaritoTask.js:172

Registers an environment factory within the GabaritoTask.

The factory method will receive the configuration object and the grunt reference.

Parameters:
  • name <String>
  • factory <Function>
registerReporter( name, factory )
lib/GabaritoTask.js:188

Registers a reporter factory within the GabaritoTask.

The factory method will receive the configuration object and the grunt reference.

Parameters:
  • name <String>
  • factory <Function>
Function task( )
lib/GabaritoTask.js:204

Returns the grunt task function to be register within the module.exports fashion


Returns: <Function>