UNPKG

require-dir-all

Version:

Yet another Node.js helper to require all files in directory

30 lines (21 loc) 649 B
// See README.md for details. 'use strict'; require('./gulp/'); /* Run: $ gulp Output: [00:51:29] Using gulpfile <...>demo/gulp-advanced/gulpfile.js [00:51:29] Starting 'task1'... task1 is running, config: { option: 'value' } [00:51:29] Finished 'task1' after 13 ms [00:51:29] Starting 'task21'... task21 is running, config: { option: 'value' } [00:51:29] Finished 'task21' after 191 μs [00:51:29] Starting 'task22'... task22 is running, config: { option: 'value' } [00:51:29] Finished 'task22' after 94 μs [00:51:29] Starting 'default'... default task is running, config: { option: 'value' } [00:51:29] Finished 'default' after 68 μs */