gulp-import-tasks
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -175,4 +175,6 @@ /** | ||
); | ||
debug(`finished importing tasks`); | ||
}; | ||
module.exports = importTasks; |
{ | ||
"name": "gulp-import-tasks", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Import tasks from a local directory, rather than from your gulpfile.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -82,15 +82,5 @@ gulp-import-tasks | ||
Gulp will automatically send an asynchronous callback function as the last parameter in your task definition. Use this to make your task asynchronous! Read more about asynchronous tasks in the Gulp docs [here][external_gulp-async]. | ||
Not yet supported – accepting pull requests. | ||
```js | ||
// tasks/async.js | ||
module.exports = function (gulp, done) { | ||
doSomethingAsync(() => { | ||
done(); | ||
}); | ||
}; | ||
``` | ||
Advanced | ||
@@ -147,14 +137,4 @@ -------- | ||
```js | ||
// gulp/tasks/async.js | ||
module.exports = function (gulp, config, done) { | ||
doSomethingAsync(() => { | ||
done(); | ||
}); | ||
}; | ||
``` | ||
Authors | ||
@@ -161,0 +141,0 @@ ------- |
12826
12
172
159