Skip to content

Commit 910cee5

Browse files
committed
Merge branch 'develop' of github.com:iurimatias/embark-framework into develop
2 parents 004d1ee + f31a787 commit 910cee5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/index.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,13 @@ var Embark = {
151151
});
152152
},
153153
function buildPipeline(abi, callback) {
154-
var pipeline = new Pipeline({});
154+
self.logger.trace("Building Assets");
155+
var pipeline = new Pipeline({
156+
buildDir: self.config.buildDir,
157+
contractsFiles: self.config.contractsFiles,
158+
assetFiles: self.config.assetFiles,
159+
logger: self.logger
160+
});
155161
pipeline.build(abi);
156162
callback();
157163
}
@@ -227,8 +233,8 @@ var Embark = {
227233
var self = this;
228234
async.waterfall([
229235
function buildAndDeploy(callback) {
230-
Embark.buildAndDeploy(function(contractsManager) {
231-
callback(null, contractsManager);
236+
Embark.buildAndDeploy(function(err, contractsManager) {
237+
callback(err, contractsManager);
232238
});
233239
},
234240
function generateABI(contractsManager, callback) {

0 commit comments

Comments
 (0)