v3.0.0

@DamonOehlman DamonOehlman released this May 5, 2014 · 23 commits to master since this release

This release adds the task.exec function which takes an array as the first parameter, and a callback as the second. The task name is spliced out of the array and used to locate the task, with the remaining args passed onto the task function (if found).

Additionally, the "automagic" callback implementation of the task.prepare has been removed (less magic = better).

Downloads

v2.0.0

@DamonOehlman DamonOehlman released this Mar 28, 2014 · 38 commits to master since this release

This release moves taskify from automatically registering a "global registry" to using defined registry scopes. A new registry is created as follows:

var task = require('taskify')();

Once the registry is created, new tasks can then be defined:

task('double', function(a) {
    return a * 2;
});

Downloads