code: function task(app, name, pattern, dependencies) {
    app.task(name, dependencies || [], function(cb) {
      return pattern ? file(app, pattern) : cb();
    });
  }
docs: Create a task with the given `name` and glob `pattern`