Merge pull request #201 from johnjbarton/customible-gulp

Allow gulp task list to be extended.
master
Sindre Sorhus 2014-06-27 20:38:36 +02:00
commit 5219ec1926
2 changed files with 5 additions and 0 deletions

View File

@ -143,3 +143,7 @@ gulp.task('pagespeed', pagespeed.bind(null, {
url: 'https://example.com',
strategy: 'mobile'
}));
// Load custom tasks
var requireDir = require('require-dir');
var dir = requireDir('./tasks');

View File

@ -21,6 +21,7 @@
"jshint-stylish": "^0.2.0",
"opn": "^0.1.1",
"psi": "^0.0.4",
"require-dir": "^0.1.0",
"run-sequence": "^0.3.6"
},
"engines": {