UNPKG

chameleon-tool

Version:

chameleon 脚手架工具

28 lines (22 loc) 544 B
exports.name = 'build'; exports.usage = ''; exports.desc = 'start build mode'; /* istanbul ignore next */ exports.register = function (commander) { commander .action(function (...args) { cml.utils.checkProjectConfig(); /* eslint-disable */ cml.log.startBuilding(); const utils = require('../utils.js'); /* eslint-disable */ cml.media = 'build'; utils.startReleaseAll('build'); }) commander.on('--help', function() { var cmd = ` cml build ` console.log(cmd) }) }