Commit Graph

3488 Commits

Author SHA1 Message Date
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 9f1cb71117
Merge pull request #837 from embark-framework/eject_msg
modify eject msg
2018-09-14 18:20:42 -04:00
Iuri Matias e3273b7867
Merge pull request #835 from embark-framework/fix-coverage-timing
Update coverage report after suite
2018-09-14 18:18:24 -04:00
Iuri Matias b53eb11285
Merge pull request #833 from embark-framework/bug_fix/http-inception
Fix contracts with http import inceptions
2018-09-14 18:15:52 -04: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
Iuri Matias 9b2fa9402b
Merge pull request #822 from embark-framework/bugfix/circular-json
Fix circular JSON and swarm api require
2018-09-14 18:11:34 -04:00
Iuri Matias 8b28bb9691
Merge pull request #830 from embark-framework/feature/process-wrapper-options
Better manage default options
2018-09-14 18:09:41 -04:00
Iuri Matias e805ae8e86
Merge pull request #836 from embark-framework/chore/fix-warnings
Fix warnings in solidity contracts
2018-09-14 18:08:55 -04:00
Iuri Matias 286e1d2c95
Merge pull request #824 from embark-framework/feature/swarm-use-local-datadir
Swarm use local data dir
2018-09-14 18:07:54 -04:00
Andre Medeiros 103262f435 Write coverage report asynchronously 2018-09-14 16:43:58 -04:00
Andre Medeiros a8a9f3e9a8 Setup coverage to listen to the test embark events
This allows us to catch an event to know when the tests are done running. In turn, this will tell us when to save the coverage file and run the report.
2018-09-14 16:31:40 -04:00
Jonathan Rainville d9350899b7 fix tests 2018-09-14 15:21:45 -04:00
Jonathan Rainville b3b61dd82c add build to gitignore 2018-09-14 14:36:27 -04:00
Jonathan Rainville 800a3ce285 remove last build thing 2018-09-14 14:35:39 -04:00
Jonathan Rainville ce8a201f43 remove build in contracts app 2018-09-14 14:35:29 -04:00
Jonathan Rainville 0bf4e48607 fix warnings in contracts app sol contracts 2018-09-14 14:35:12 -04:00
Jonathan Rainville a3cd053cb1 fix warnings in sol contracts 2018-09-14 14:20:41 -04:00
Andre Medeiros d8becfe54f Lint lyfe 2018-09-14 13:21:47 -04:00
Andre Medeiros cd8980151b Update coverage report after each step 2018-09-14 13:16:02 -04:00
Jonathan Rainville 600a1dfee8 fix test 2018-09-14 12:00:04 -04:00
Jonathan Rainville fc0825aeca set downloaded flag at the very end 2018-09-14 11:50:24 -04:00
Anthony Laibe 2c30271d29 please linter 2018-09-14 10:30:20 +01:00
Anthony Laibe ab859d4ef5 Better manage default options 2018-09-14 10:17:01 +01: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
Iuri Matias 9887a2204d
Merge pull request #826 from embark-framework/feature/clean-pipeline
Clean build dir before starting
2018-09-13 19:47:14 -04:00
Iuri Matias 6d54a40bb2
Merge pull request #827 from embark-framework/bug_fix/prepend-embark-plugin-install
Prepend "embark-" to plugin names and little fixes
2018-09-13 19:46:49 -04:00
Iuri Matias 45d6d4358e
Merge pull request #828 from embark-framework/features/coverage-option
Add --coverage option to tests
2018-09-13 19:46:27 -04:00
Iuri Matias 98b999618b modify eject msg 2018-09-13 16:43:43 -04:00
Jonathan Rainville 293fce63a9 add thens to catch errors 2018-09-13 15:56:36 -04:00
Jonathan Rainville fdeac8bede ad lock because travis is a big cry baby 2018-09-13 14:38:57 -04:00
Jonathan Rainville 43a9640297 add option to generate the coverage 2018-09-13 14:30:15 -04:00
Jonathan Rainville 3e1db81d5b preprend embark to plugin name 2018-09-13 10:29:03 -04:00
Jonathan Rainville ddb1872db5 fix undefined message in console 2018-09-13 10:28:03 -04:00
Jonathan Rainville 70763fc717 restructure plugin_cmd 2018-09-13 10:08:15 -04:00
Anthony Laibe 0cb12e0591 Clean build dir before starting 2018-09-13 14:07:14 +01:00
Anthony Laibe 8ffc9b89e2 Swarm use local data dir 2018-09-13 13:37:44 +01:00
Anthony Laibe 583318169a Fix loading swarm-api in node or browser 2018-09-13 12:29:44 +01: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
Anthony Laibe c22901ab95 Fix circular JSON and swarm api require 2018-09-13 11:21:17 +01:00
Anthony Laibe 323ec0d529
Merge pull request #813 from embark-framework/feature/ipc-webserver-restriction
No webserver and no ipc server on console
2018-09-13 09:44:55 +01:00
Anthony Laibe 1b242baefd No webserver and no ipc server on console 2018-09-13 09:19:57 +01:00
Iuri Matias 53e3136ac6
Merge pull request #821 from embark-framework/bug_fix/double-import
Fix double http import
2018-09-12 18:53:54 -04:00
Iuri Matias edd9ece585
Merge pull request #820 from embark-framework/bug_fix/error-deploy-pending
Don't stop everything on contract deploy fail
2018-09-12 18:50:56 -04:00
Iuri Matias f270002c81
Merge pull request #819 from embark-framework/features/contarct-option-no-ipfs
Do not start storage and code_generator on --contracts
2018-09-12 18:44:33 -04:00
Iuri Matias a912cdd464
Merge pull request #818 from embark-framework/bug_fix/dep-check-on-wrong-cmd
Only check dependencies on Dapp commands
2018-09-12 18:43:00 -04:00
Iuri Matias e7ae3fbc76
Merge pull request #809 from embark-framework/bug_fix/bad-redeploy
fix redeploy of contracts on spaces
2018-09-12 18:37:29 -04:00
Iuri Matias cdf5a37ac4
Merge pull request #808 from embark-framework/eth_call_coverage
Add call coverage to pure functions
2018-09-12 18:31:22 -04:00