GruntRunnerFactory Class

Summary

Returns a grunt runner based on either a local or global grunt installation via npm
Assembly
Cake.Grunt.dll
Namespace
Cake.Grunt
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GruntRunnerFactory"] class Type type-node

Syntax

public class GruntRunnerFactory

Properties

Name Value Summary
Global GruntRunner<GruntRunnerSettings>
Get a grunt global runner based on a global grunt installation, a global installation is achieved through `npm install grunt -g`
Local GruntRunner<GruntLocalRunnerSettings>
Get a grunt local runner based on a local grunt installation, a local installation is achieved through `npm install grunt`

Extension Methods

Name Value Summary
Dump<GruntRunnerFactory>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GruntRunnerFactory>(GruntRunnerFactory[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GruntRunnerFactory>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GruntRunnerFactory>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GruntRunnerFactory>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GruntRunnerFactory>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin