Skip to content

Releases: DamonOehlman/taskify

Release list

v3.0.0

Choose a tag to compare

@DamonOehlman DamonOehlman released this 05 May 11:59

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).

v2.0.0

Choose a tag to compare

@DamonOehlman DamonOehlman released this 05 May 12:03

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;
});