Skip to content

Provide results of parent tasks when action is run #17

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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