|
|
@ -186,8 +186,9 @@ program
|
|
|
|
program
|
|
|
|
program
|
|
|
|
.command('build [targets...]')
|
|
|
|
.command('build [targets...]')
|
|
|
|
.description('Compile static assets ' + '(JS, CSS, templates, languages, sounds)'.red)
|
|
|
|
.description('Compile static assets ' + '(JS, CSS, templates, languages, sounds)'.red)
|
|
|
|
.action(function (targets) {
|
|
|
|
.option('-s, --series', 'Run builds in series without extra processes')
|
|
|
|
require('./manage').build(targets.length ? targets : true);
|
|
|
|
.action(function (targets, options) {
|
|
|
|
|
|
|
|
require('./manage').build(targets.length ? targets : true, options);
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.on('--help', function () {
|
|
|
|
.on('--help', function () {
|
|
|
|
require('./manage').buildTargets();
|
|
|
|
require('./manage').buildTargets();
|
|
|
|