From da9c705f7f9715ab9cad7c8b28711924f08541ff Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 12 Oct 2015 09:09:11 -0400 Subject: [PATCH] add embark simulator cmd --- bin/embark | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/embark b/bin/embark index d0f897cc..476897cd 100755 --- a/bin/embark +++ b/bin/embark @@ -6,6 +6,7 @@ var wrench = require('wrench'); var grunt = require('grunt'); require('shelljs/global'); var readYaml = require('read-yaml'); +var EtherSim = require('ethersim'); var Embark = require('..'); var run = function(cmd) { @@ -172,10 +173,14 @@ program.command('meteor_demo').description('create a working meteor dapp with a console.log('\n\ninit complete'); }); +program.command('simulator').description('run a fast ethereum rpc simulator').action(function() { + EtherSim.startServer(); +}); + program.parse(process.argv) if (!process.argv.slice(2).length) { program.outputHelp(); } -exit(); +//exit();