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);
|
|
|
|
|
2015-08-22 03:34:12 +02:00
|
|
|
process.env.NODE_PATH = './src';
|
|
|
|
|
2015-08-16 01:47:51 +02:00
|
|
|
tasks.forEach(function(task) {
|
|
|
|
require('./tasks/' + task);
|
|
|
|
});
|