Commit Graph

57 Commits

Author SHA1 Message Date
Jonathan Rainville 2a24c3cbf0
remove use of initConfig 2018-10-23 10:05:20 +02:00
Jonathan Rainville da6956695d
set isDev as default if there is no blockchain file 2018-10-23 10:05:20 +02:00
Richard Ramos 8861588726
Adding base command logic for scaffolding generation 2018-10-23 09:57:16 +02:00
Richard Ramos 668a25221f
Fixing framework loading 2018-10-23 09:42:09 +02:00
Richard Ramos 0eaafb77f1
Adding base command logic for scaffolding generation 2018-10-23 09:42:08 +02:00
Michael Bradley, Jr 6eae7a9a31
use a customized require/.resolve instead of relying on NODE_PATH
# Conflicts:
#	cmd/cmd.js
2018-10-22 19:54:49 +02:00
Jonathan Rainville df218397cd
use lowercase for loglevel 2018-10-22 19:54:47 +02:00
Jonathan Rainville fe0b84349a
update noserver and nobrowser and fix noserver 2018-10-22 19:54:47 +02:00
Jonathan Rainville 7a83b02db5
fix logLevel 2018-10-22 19:54:46 +02:00
Cryptomental 47dcb1552c
console, dashboard: Add persistent, automatically loaded history.
Add persistent automatically loaded history file for repl console
and Embark dashboard.

Default location of the history file is stored in DEFAULT_CMD_HISTORY_PATH
pointing to DAPP_PATH/.embark/cmd_history.

The history is automatically saved and loaded on startup.

test/console: Pass Embark object to constructor.

Update console test to pass Embark object to constructor.

Refs: https://github.com/embark-framework/embark/issues/939
2018-10-22 19:54:43 +02:00
Giuseppe Bertone 81e798c89c
Add support for Parity
Addons
 - New chain initialization and genesis management
 - Option to choose client to use
 - Option to "ping forever" for Geth
 - Creation and unlock of accounts at client's start
 - Utility to fund accounts with ethers
 - Miner settings inside the ethereum client
 - Workaround to CORS problem: origin is now http://embark
 - Several double callback's checks

Updates
 - Boilerplate, templates, configuration files and demo stuff
 - Messages and i18n strings
 - Tests

Fixes
 - Geth client now uses miner.gastarget instead of the deprecated targetGasLimit
 - Workaround for shh_version with Parity

Reworks of other PRs into the new code
 - Included delayed proxy
 - Send ready only when the proxy is started
 - Start HTTP and WS proxies individually
 - Async setupProxy
 - Fixed datadir for GethMiner
2018-10-22 19:53:49 +02:00
Michael Bradley, Jr 965c22d108
bin/embark handles checkDeps 2018-10-22 19:39:27 +02:00
Michael Bradley, Jr fd856f8163
PKG_PATH, pkgPath 2018-10-22 19:39:26 +02:00
Subramanian Venkatesan ee77ac7f7f
Adds solc option to tests. Runs smart contract tests using remix-tests
Ref: #817
2018-10-22 19:39:24 +02:00
Cryptomental 10bf3e4412
cmd, cmd_controller, graph: Add --output option to graph.
Add optional --output argument to graph generator. The argument allows
to specify a filepath for graph output. Default filepath is ./diagram.svg
if the argument is not specified.

Refs: https://github.com/embark-framework/embark/issues/944
2018-10-22 19:25:18 +02:00
Cryptomental 0483920421
cmd, run_tests: Add --nobrowser option for runCoverage.
Do not start browser during coverage run when --nobrowser option is passed.

Refs: https://github.com/embark-framework/embark/issues/941
2018-10-22 19:25:18 +02:00
Michael Bradley, Jr 0e5989bf40 rev --template
if option is used, param must be supplied

"GitHub repository" -> "git host" in help output
2018-09-24 17:46:29 -05:00
Iuri Matias 9ac3f56c98 update template option message 2018-09-21 18:18:21 -04:00
Iuri Matias af823f98b6 clarify template option; hide ens option; update typo suggestion list 2018-09-21 17:51:33 -04:00
Michael Bradley, Jr a6231851b0 consistent quotes 2018-09-18 15:06:27 -05:00
Michael Bradley, Jr fc68e9be3c rev --gasDetails help output 2018-09-18 15:06:04 -05:00
Michael Bradley, Jr b2c7ef37b7 rev --node help output 2018-09-18 15:06:04 -05:00
Michael Bradley, Jr dbac72ea7d --coverage option only support "vm" node 2018-09-18 15:05:52 -05:00
Michael Bradley, Jr 1f652a7672 deploy -> deployment 2018-09-18 12:55:37 -05:00
Iuri Matias 904c716d89
Merge pull request #856 from embark-framework/features/config-browser-open
cli and config options for browser auto-open
2018-09-18 13:11:55 -04:00
Michael Bradley, Jr a49d8eafa1 clarify re: GitHub 2018-09-18 10:24:40 -05:00
Michael Bradley, Jr 19dc3a1d13 match wording on docs site 2018-09-17 18:50:47 -05:00
Michael Bradley, Jr 638fb4ee27 allow config to determine webserver enabled if no --noserver cli opt 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr a966ecb131 for --host,--port coerce falsy and bool to null 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr 64027a5ee4 --nobrowser cli option 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr 6e60566b27 add line break between error message and help output 2018-09-14 20:44:22 -05:00
emizzle 6e444aaf65 simplied the valid option check to pure regex 2018-09-15 11:38:48 +10:00
emizzle 269d544ab3 show option usage help with invalid `—node` option and simplied the valid option check to pure regex 2018-09-15 11:36:24 +10:00
Michael Bradley, Jr 203039763d `node` won't ever be falsy owing to `|| 'vm'` 2018-09-14 20:25:22 -05:00
Michael Bradley, Jr f790ecdcbb be more explicit about setting the default option value to 'vm' 2018-09-14 20:15:48 -05:00
Michael Bradley, Jr ac930d0be0 report error and exit if --node option value is not valid 2018-09-14 19:58:23 -05:00
Iuri Matias 3c167b197c
Merge pull request #823 from embark-framework/features/embark-help-addition
`embark test —node` help, plus fix for vm option
2018-09-14 18:13:07 -04:00
emizzle 7658818571 remove custom option validation
Was trying to get a bit too fancy and show an error message if the user didn’t provide a valid value. Instead, if they use `—node` and the value is not a valid option, `vm` will be the default.
2018-09-14 15:23:38 +10:00
Jonathan Rainville 43a9640297 add option to generate the coverage 2018-09-13 14:30:15 -04:00
emizzle 60703b86c5 `embark test —node` help, plus fix for vm option
Add better help info for `embark test —node`.

Fixed issue with `embark test —node vm` where the `vm` was attempted to be parsed as a URL instead of running the simulator.
2018-09-13 20:34:58 +10:00
Jonathan Rainville 4dcaa529f9 move check dependencies to specific commands 2018-09-12 10:57:09 -04:00
Michael Bradley, Jr c662ab362b eject-webpack cmd should report error and exit if run outside DApp 2018-09-11 19:37:06 -05:00
Jonathan Rainville 542462faed check deps before launching 2018-09-07 12:37:18 -04:00
Anthony Laibe caeb0c86b4 Remove testrpc option 2018-09-05 14:12:26 +01:00
Michael Bradley, Jr 4c63c5adef --pipeline option (default: production) for `embark upload` command 2018-08-28 15:44:13 -05:00
Michael Bradley, Jr 4234324640 need to require('path') 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr 1e97a6478b prefer path.delimiter 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr e0fda460ba --pipeline option for `embark console`, defaults to 'development' 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr 2c54349c33 rev comment re: NODE_PATH 2018-08-24 15:04:16 -05:00
Michael Bradley, Jr ba98f76a10 no separator if proces.env.NODE_PATH is falsy 2018-08-24 15:04:16 -05:00