alterArch: function() { var _this = this; return Q.step( function() { LOGGER.silly("Going to run createCommonNodes()"); return Q.call(_this.createCommonNodes, _this); }, function(common) { LOGGER.silly("Going to run createBlockLibrariesNodes()"); return [ common, Q.call(_this.createBlockLibrariesNodes, _this, common) ]; }, function(common, libs) { LOGGER.silly("Going to run createBlocksLevelsNodes()"); return [ common, libs, Q.call(_this.createBlocksLevelsNodes, _this, common, libs) ]; }, function(common, libs, blocks){ LOGGER.silly("Going to run createBundlesLevelsNodes()"); return [ common, libs, blocks, Q.call(_this.createBundlesLevelsNodes, _this, common, (libs || []).concat(blocks)) ]; }, function(common, libs, blocks, bundles) { LOGGER.silly("Going to run createCustomNodes()"); return Q.call(_this.createCustomNodes, _this, common, libs, blocks, bundles); }) .then(function() { return _this.opts.inspector && U.snapshotArch( _this.arch, PATH.join(_this.root, '.bem/snapshots/' + UTIL.format('%s_defaultArch alterArch.json', (new Date()-0)))); }) .then(function() { LOGGER.info(_this.arch.toString()); return _this.arch; }); },
.act(function(opts, args) { return Q.step( test_createMakefile, test_debianizeSubLevel ) })