mirror of https://github.com/embarklabs/embark.git
restructure; move code from tasks into libs
This commit is contained in:
parent
4593ad7e76
commit
4499fc6c13
|
@ -24,6 +24,8 @@ startChain = function(env) {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd += "--mine ";
|
cmd += "--mine ";
|
||||||
|
|
||||||
|
//TODO: this should be configurable
|
||||||
cmd += "--maxpeers 0 ";
|
cmd += "--maxpeers 0 ";
|
||||||
|
|
||||||
if (config.account.password !== void 0) {
|
if (config.account.password !== void 0) {
|
||||||
|
|
|
@ -25,7 +25,6 @@ deployContracts = function(env, contractFiles, destFile) {
|
||||||
console.log("address is : " + primaryAddress);
|
console.log("address is : " + primaryAddress);
|
||||||
|
|
||||||
result = "web3.setProvider(new web3.providers.HttpProvider('http://" + blockchainConfig.rpcHost + ":" + blockchainConfig.rpcPort + "'));";
|
result = "web3.setProvider(new web3.providers.HttpProvider('http://" + blockchainConfig.rpcHost + ":" + blockchainConfig.rpcPort + "'));";
|
||||||
|
|
||||||
result += "web3.eth.defaultAccount = web3.eth.accounts[0];";
|
result += "web3.eth.defaultAccount = web3.eth.accounts[0];";
|
||||||
|
|
||||||
contractDependencies = {};
|
contractDependencies = {};
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
EmbarkSpec = require('../lib/test.js').Tests;
|
||||||
|
|
Loading…
Reference in New Issue