Compare commits

..

2 Commits

Author SHA1 Message Date
395cb7d8a2 1.1.1 2016-02-14 18:42:55 +01:00
6284fa71d1 update promise 2016-02-14 18:42:45 +01:00
2 changed files with 4 additions and 3 deletions

View File

@ -27,9 +27,10 @@ var myFunction = function () {
}
gulp.task('gulpTest',function() {
gulp.src('./mydir/*.something')
var stream = gulp.src('./mydir/*.something')
.pipe(gulpFunction(myFunction,'forEach')) //read the notes below
.pipe(gulp.dest("./build/"))
.pipe(gulp.dest("./build/"));
return stream; // by returning the stream gulp knows when our task has finished.
});
```

View File

@ -1,6 +1,6 @@
{
"name": "gulp-function",
"version": "1.1.0",
"version": "1.1.1",
"description": "accepts a function call as parameter to execute in gulp pipeline",
"main": "index.js",
"scripts": {