embark build wasn't deploying assets

This commit is contained in:
Nicolas Iglesias 2016-11-28 17:14:39 -03:00 committed by GitHub
parent 6bcfa7e1f0
commit cae39d85be
1 changed files with 7 additions and 1 deletions

View File

@ -151,7 +151,13 @@ var Embark = {
}); });
}, },
function buildPipeline(abi, callback) { 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); pipeline.build(abi);
callback(); callback();
} }