mirror of https://github.com/embarklabs/embark.git
clean up
This commit is contained in:
parent
0c9dc48362
commit
93a9a3065f
|
@ -159,27 +159,11 @@ class Engine {
|
||||||
let self = this;
|
let self = this;
|
||||||
|
|
||||||
this.registerModule('code_generator', {plugins: self.plugins, env: self.env});
|
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 () {
|
const generateCode = function () {
|
||||||
self.events.request("code-generator:embarkjs:build", () => {
|
self.events.request("code-generator:embarkjs:build", () => {
|
||||||
self.events.emit('code-generator-ready');
|
self.events.emit('code-generator-ready');
|
||||||
});
|
});
|
||||||
|
|
||||||
//self.codeGenerator.buildEmbarkJS(function() {
|
|
||||||
// self.events.emit('code-generator-ready');
|
|
||||||
//});
|
|
||||||
};
|
};
|
||||||
const cargo = async.cargo((_tasks, callback) => {
|
const cargo = async.cargo((_tasks, callback) => {
|
||||||
generateCode();
|
generateCode();
|
||||||
|
|
Loading…
Reference in New Issue