Class: ExtendConfig

ExtendConfig(dir, task)

Grunt Config Helper Class to extend configs from an directory structure.

Constructor

new ExtendConfig(dir, task)

Parameters:
Name Type Description
dir string The directory with config Files.
task boolen The Grunt Task Name by filename if true.
Source:

Methods

(static) extendObject(target, namespace, args) → {object}

Extend Object with given Object(s).
Parameters:
Name Type Description
target object The target to extend.
namespace string The namespace prefix to extend prop.
args object The sources to append.
Source:
Returns:
The extended Object.
Type
object

(static) getFiles() → {array}

Get files from a given directory.
Source:
Returns:
The files from the given directory.
Type
array

(static) getTasks() → {object}

Build Tasks from Objects in given files.
Source:
Returns:
The required files from the given directory.
Type
object