9 lines
220 B
JavaScript
9 lines
220 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var fs = require('fs');
|
||
|
var onlyScripts = require('./util/script-filter');
|
||
|
var tasks = fs.readdirSync('./gulp/tasks/').filter(onlyScripts);
|
||
|
|
||
|
tasks.forEach(function(task) {
|
||
|
require('./tasks/' + task);
|
||
|
});
|