79 Commits

Author SHA1 Message Date
Iuri Matias
6a031e1dab warn if old cmd is used 2018-06-19 14:07:14 -04:00
Jonathan Rainville
8205f91802 enable loglevel for test logger and actually log 2018-06-13 09:44:19 -04:00
Iuri Matias
0dbefad48b move requires to methods that actually need them 2018-06-01 19:30:51 -04:00
Jonathan Rainville
61a518f569 remove initCOnfig in tests because useless 2018-06-01 13:44:54 -04:00
emizzle
0cb79d84a0 Dynamic selection of storage provider now working based on improved storage config.
swarm plugin now re-initialises the bzz object when it's availability is checked. this creates a much more stable swarm implementation on the dapp side.

surrounded the storage provider init code block with embark env ready

added alternate swarm gateway url

can now upload dapp to ipfs and run swarm storage and vice versa
2018-06-01 13:30:01 +10:00
Jonathan Rainville
4bdf469131 conflict in en.json 2018-05-23 11:17:02 -04:00
Jonathan Rainville
e69b8bab56 conflict in en.json 2018-05-23 11:17:02 -04:00
Jonathan Rainville
3fcc36a7a1 launch blockchain in separate process
works but still cant getAccounts
2018-05-23 11:17:01 -04:00
RJ Catalano
380b2258e7
Merge pull request #432 from embark-framework/addCompileOnlyFlag
add command for only compiling contracts in build command
2018-05-17 16:56:50 -05:00
VoR0220
dd9e85fa27 add command for only compiling contracts in build command
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-17 15:37:57 -05:00
emizzle
627bf0c939 Removed platform from the upload command line option as it is being specified in the storage.json config.
Removed duplicates from en.json.

Fixed upload error message bug showing encoded interpolated string
2018-05-17 17:38:17 +10:00
Iuri Matias
4236f56147 add missing option 2018-05-10 15:36:24 -04:00
Iuri Matias
2e324484d4 add missing option 2018-05-10 15:26:09 -04:00
Iuri Matias
854fa0deb0 add locale option to most cmds 2018-05-10 15:02:03 -04:00
Iuri Matias
517a3bf234 move i18n and locales to its own folder; abstract it a bit; detect at initialization; add cmd line option 2018-05-10 15:01:34 -04:00
Iuri Matias
0b70f32bb9 initial work for i18n 2018-05-10 15:01:34 -04:00
Richard Ramos
3f8450f060 Extra functionality for deciding which elements to include in a graph 2018-05-04 16:17:12 -04:00
emizzle
cc30ff390e Implemented PR review changes
* Removed config init from `cmd.js` for upload.
* refactored `upload()` to use engine services instead of loading and using plugins directly.
* now passing web3 directly to the `Swarm` constructor
2018-04-24 10:27:11 +10:00
emizzle
09ca551a22 Add --loglevel validation for run and build 2018-04-19 14:43:41 +10:00
emizzle
96495b99c3 Support setting log level as an argument
* Add loglevel and logfile switch to `embark build`
* Support existing `loglevel` and `logfile` switch for `embark run/upload`
* make casing consistent for `loglevel` and `logfile`
* remove passing engine to `build()` and instead pass needed objects in options.
* prevent duplicate plugin initiation (above point)
* allow `Events` object to be passed to `Engine` constructor and `init()`
* prevent echo of upload commands to allow interception and control via logging
2018-04-19 14:25:43 +10:00
emizzle
d985a5ed69 Fixing --logLevel option for embark run
Intercepting logs for embark run and including logLevel for displayed logs.
2018-04-17 16:17:59 +10:00
Eric Mastro
6b7af4b647 #156326148 Build contracts and dapp before upload. 2018-04-15 20:30:52 +10:00
Richard Ramos
d038ed414d Merge branch 'develop' of https://github.com/embark-framework/embark into graphviz-contracts 2018-04-05 11:35:19 -04:00
Iuri Matias
4c82f309e0 add --simple option 2018-03-29 19:42:47 -04:00
Iuri Matias
8b326d86db fix typo in cmd description 2018-03-29 18:12:07 -04:00
Richard Ramos
d7b33a309b Changed logic of deploy manager to be able to only compile the code and not deploy it 2018-03-23 10:02:23 -04:00
Richard Ramos
9e469cc83e Initial commit for graphviz functionality
- Added required packages
- Added command to cmd.js
- Created graph.js to contain graph logic
2018-03-23 10:02:23 -04:00
Iuri Matias
83227beaa1 add option to specify a logfile to output the logs 2018-03-10 13:45:56 -05:00
Iuri Matias
728aea6e04 fix imports issue 2018-01-12 14:21:36 -05:00
Iuri Matias
61c00819ec add reset cmd 2018-01-11 09:22:58 -05:00
Iuri Matias
174ba8ec9b add more cmd line options to sim 2017-12-27 17:48:33 -05:00
Iuri Matias
50f1072372 move upload to its own module 2017-12-26 19:55:42 -05:00
Iuri Matias
25d99bcf2f fix linting error 2017-12-19 15:48:56 -05:00
Iuri Matias
535340794b warn of contract typos 2017-12-19 14:07:48 -05:00
Iuri Matias
c63c9b8728 warn user of typos 2017-12-19 13:29:48 -05:00
Iuri Matias
a99ee73ef8 add version command 2017-12-19 10:20:05 -05:00
Iuri Matias
704a1ff517 cleanup 2017-10-14 06:06:09 -04:00
Iuri Matias
263fdb6d8b support specifying file or folder when running tests 2017-07-02 11:32:16 -04:00
Iuri Matias
9a8a8d7da2 first step at getting rid of mocha/embark on package.json 2017-07-01 23:11:42 -04:00
Iuri Matias
cbf6f6ec5c default to embarkDApp as the new dapp 2017-06-27 15:45:30 -04:00
Todd Baur
613e4e6abe integration testing fixes 2017-03-30 22:16:46 +09:00
Todd Baur
67f325f5a0 migrate all the code to ES6 2017-03-30 20:12:39 +09:00
Todd Baur
e3b9c01205 fix linter complaints 2017-03-30 02:18:00 +09:00
Todd Baur
b186bf966c fixed merge conflicts 2017-03-22 14:13:58 +09:00
Todd Baur
f64474b861 dont require () at end of requires 2017-03-12 11:59:13 +09:00
Todd Baur
b590312e20 cleanup empty lines after function 2017-03-11 00:13:59 +09:00
Todd Baur
dc9084b8a6 Dropped 'this' in Cmd and set internal var Embar to self execute 2017-03-11 00:07:08 +09:00
Todd Baur
835899cf6e this is a quick attempt at speeding up the init of CLI by changing Embark.js to a reveal module pattern and moving the requires into the functions that need them. It removes the circular reference between Cmd and Embark, which is the biggest hit to speed. It also changes how the binary starts by importing Cmd instead of Embark. 2017-03-10 23:43:52 +09:00
Iuri Matias
c1d2bd170e Merge pull request #230 from toadkicker/add_mocha_timeouts
add this.timeout(15000) to tests to allow the solc enough space to work
2017-03-08 09:47:08 -05:00
Todd Baur
026909aa91 fix other timeout issues in tests outside of core framework code 2017-03-08 23:41:16 +09:00