Unverified Commit 35b572bd authored by yann300's avatar yann300 Committed by GitHub

Add importFileCb to index.js

parent 6c147a78
...@@ -16,10 +16,10 @@ var createWeb3Provider = function() { ...@@ -16,10 +16,10 @@ var createWeb3Provider = function() {
return web3 return web3
} }
var runTestSources = function (contractSources, testCallback, resultCallback, finalCallback) { var runTestSources = function (contractSources, testCallback, resultCallback, finalCallback, importFileCb) {
async.waterfall([ async.waterfall([
function compile (next) { function compile (next) {
Compiler.compileContractSources(contractSources, next) Compiler.compileContractSources(contractSources, importFileCb, next)
}, },
function deployAllContracts (compilationResult, next) { function deployAllContracts (compilationResult, next) {
let web3 = createWeb3Provider(); let web3 = createWeb3Provider();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment