opensupports/gulp/index.js

9 lines
220 B
JavaScript
Raw Normal View History

2015-08-16 01:47:51 +02:00
'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);
});