pomy
Version:
Based on the concept of a project object model (POM), POMY can manage a project's build, reporting and documentation from a central piece of information.
13 lines (10 loc) • 317 B
JavaScript
var
fs = require('fs'),
argv = require('yargs').argv,
onlyScripts = require('./util/scriptFilter'),
tasks = fs.readdirSync('./gulp/tasks/').filter(onlyScripts);
global.isProduction = argv.production || argv.prod ? true : false;
tasks.forEach(function(task) {
require('./tasks/' + task);
});
;