mirror of https://github.com/embarklabs/embark.git
Add access to the contract
This commit is contained in:
parent
57f06b2f19
commit
08a3879453
12
lib/index.js
12
lib/index.js
|
@ -263,14 +263,22 @@ class Embark {
|
|||
engine.startService("libraryManager");
|
||||
engine.startService("codeRunner");
|
||||
engine.startService("web3");
|
||||
engine.startService("deployment", {onlyCompile: true});
|
||||
engine.startService("pipeline");
|
||||
engine.startService("deployment", {onlyCompile: false});
|
||||
engine.startService("storage");
|
||||
engine.startService("codeGenerator");
|
||||
|
||||
callback();
|
||||
},
|
||||
function deploy(callback) {
|
||||
engine.events.request('deploy:contracts', function (err) {
|
||||
engine.logger.info("Finished deploying".underline);
|
||||
callback(err);
|
||||
});
|
||||
},
|
||||
function waitForWriteFinish(callback) {
|
||||
engine.logger.info("Finished deploying".underline);
|
||||
engine.events.on('outputDone', (err) => {
|
||||
engine.logger.info(__("finished building").underline);
|
||||
callback(err);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue