mirror of https://github.com/embarklabs/embark.git
clean up
This commit is contained in:
parent
b48ec4c638
commit
502f38b3d6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue