Skip to content

Provide results of parent tasks when action is run #17

@pcj

Description

@pcj

It would be nice to support the following:

task("namer", [], function() {
   return "world!";
});

task("greet", ["namer"], function(named: any) {
   console.log("Hello,", named);
});

So, the return value of a parent task is provided to the task.action() function, in the order it appears in the deps array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions