restructure; move code from tasks into libs

This commit is contained in:
Iuri Matias 2015-06-27 22:20:07 -04:00
parent 4593ad7e76
commit 4499fc6c13
3 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,8 @@ startChain = function(env) {
}
cmd += "--mine ";
//TODO: this should be configurable
cmd += "--maxpeers 0 ";
if (config.account.password !== void 0) {

View File

@ -25,7 +25,6 @@ deployContracts = function(env, contractFiles, destFile) {
console.log("address is : " + primaryAddress);
result = "web3.setProvider(new web3.providers.HttpProvider('http://" + blockchainConfig.rpcHost + ":" + blockchainConfig.rpcPort + "'));";
result += "web3.eth.defaultAccount = web3.eth.accounts[0];";
contractDependencies = {};

2
test/test.js Normal file
View File

@ -0,0 +1,2 @@
EmbarkSpec = require('../lib/test.js').Tests;