This commit is contained in:
Iuri Matias 2018-07-27 15:20:07 -04:00
parent b48ec4c638
commit 502f38b3d6
1 changed files with 0 additions and 16 deletions

View File

@ -159,27 +159,11 @@ class Engine {
let self = this;
this.registerModule('code_generator', {plugins: self.plugins, env: self.env});
//const CodeGenerator = require('../contracts/code_generator.js');
//this.codeGenerator = new CodeGenerator({
// blockchainConfig: self.config.blockchainConfig,
// contractsConfig: self.config.contractsConfig,
// plugins: self.plugins,
// storageConfig: self.config.storageConfig,
// namesystemConfig: self.config.namesystemConfig,
// communicationConfig: self.config.communicationConfig,
// events: self.events,
// env: self.env
//});
//this.codeGenerator.listenToCommands();
const generateCode = function () {
self.events.request("code-generator:embarkjs:build", () => {
self.events.emit('code-generator-ready');
});
//self.codeGenerator.buildEmbarkJS(function() {
// self.events.emit('code-generator-ready');
//});
};
const cargo = async.cargo((_tasks, callback) => {
generateCode();