Merge branch 'develop' of github.com:iurimatias/embark-framework into develop

This commit is contained in:
Iuri Matias 2016-12-02 06:51:10 -05:00
commit 910cee5431
1 changed files with 9 additions and 3 deletions

View File

@ -151,7 +151,13 @@ var Embark = {
});
},
function buildPipeline(abi, callback) {
var pipeline = new Pipeline({});
self.logger.trace("Building Assets");
var pipeline = new Pipeline({
buildDir: self.config.buildDir,
contractsFiles: self.config.contractsFiles,
assetFiles: self.config.assetFiles,
logger: self.logger
});
pipeline.build(abi);
callback();
}
@ -227,8 +233,8 @@ var Embark = {
var self = this;
async.waterfall([
function buildAndDeploy(callback) {
Embark.buildAndDeploy(function(contractsManager) {
callback(null, contractsManager);
Embark.buildAndDeploy(function(err, contractsManager) {
callback(err, contractsManager);
});
},
function generateABI(contractsManager, callback) {