Commit Graph

455 Commits

Author SHA1 Message Date
Iuri Matias 4c5cb95209 refactor: extract method for cmd interpreter 2017-03-02 07:44:24 -05:00
Iuri Matias 11eca918a1 add cc rule 2017-03-01 21:28:27 -05:00
Iuri Matias d4f7eca2c5 make cc happy; use join path 2017-03-01 21:15:02 -05:00
Iuri Matias 09fbd66417 put callback call at the end 2017-03-01 21:09:55 -05:00
Iuri Matias c0bcc15023 simplify condition; return callback 2017-03-01 21:08:28 -05:00
Iuri Matias dbb0b0b171 track deployed contracts taking into account swarm hash inserted by solc 2017-03-01 20:52:58 -05:00
Iuri Matias b7cd296716 make abi generation independent of deployment 2017-02-28 23:29:16 -05:00
Iuri Matias 1674adee4a add config to specify available providers for each component 2017-02-28 21:43:03 -05:00
Iuri Matias 09e58977e4 generate final embarkjs file depending on components enabled 2017-02-28 21:26:15 -05:00
Iuri Matias e61f0f102d generate storage and communication abi; disable deployment if config is disabled 2017-02-28 20:42:03 -05:00
Iuri Matias c500bb4988 fix error display with refactored compilation module 2017-02-28 08:03:03 -05:00
Iuri Matias 5477b7f11c fix options varible; make cc happy 2017-02-27 07:49:25 -05:00
Iuri Matias e806a14af6 Merge branch 'develop' of github.com:iurimatias/embark-framework into develop 2017-02-27 06:57:30 -05:00
Iuri Matias 60a617a28e don't intercept console error in plugins, causes too much issues; need to research a better way 2017-02-26 18:47:52 -05:00
DeviateFish 2642325868 Fix scoping 2017-02-26 14:33:58 -08:00
DeviateFish 5cf9048099 Add more options to testing setup
Ability to retrieve the logger from contract deployment, as well as
override the default `embark.json`
2017-02-26 14:33:14 -08:00
Iuri Matias 0060dbe53f don't exit if blockchain is not available 2017-02-26 14:56:43 -05:00
Iuri Matias a153859caf herge branch 'refactor_e' into develop 2017-02-25 23:32:08 -05:00
Iuri Matias 0dc21abd3c fix compiler argument 2017-02-25 23:20:57 -05:00
Iuri Matias 562efc6f14 test fixes 2017-02-25 22:57:22 -05:00
Iuri Matias 5fc2d97609 fix so child process doesn't hang some cmds 2017-02-25 22:39:40 -05:00
Iuri Matias 85519e95d8 add new deploy manager to build cmd 2017-02-25 20:45:40 -05:00
DeviateFish 289ece9df6 Updates to boilerplate and template creation
Update `test` command to run `embark test`
Update `name` in `package.json` to be something more easily replaceable.
Use `sed` to replace above flag with DApp name
2017-02-25 14:34:45 -08:00
Iuri Matias e9ce9dc6f1 add redeploy; don't reload compiler if it's already loaded 2017-02-25 15:47:35 -05:00
Iuri Matias d73eb802ea refactor deployment 2017-02-24 22:49:34 -05:00
Iuri Matias 4b119fffde add solc wrapper 2017-02-24 19:27:27 -05:00
Iuri Matias a2a27bb0c2 start refactoring deployment steps 2017-02-24 08:20:03 -05:00
Iuri Matias a0f4953c17 add TODO for pipeline event 2017-02-24 06:28:06 -05:00
Iuri Matias 3433c75554 refactor pipeline to use events instead 2017-02-24 06:18:57 -05:00
Iuri Matias 3d240c9d84 temporary fix for --nodashboard issue in develop 2017-02-23 20:50:55 -05:00
Iuri Matias 550b81c9b2 remove unnecessary concatenation 2017-02-23 19:49:48 -05:00
Iuri Matias 0db2b663ad make cc happy 2017-02-23 19:45:25 -05:00
Andy Nogueira de37c94b2e Implemented logic to show version of the connected IPFS node on the dashboard 2017-02-23 17:18:05 -05:00
Andy Nogueira e3cbf3c680 Better name for services. Output Geth version is important 2017-02-22 08:21:45 -05:00
Andy Nogueira 4f1317dcdd Minor typo in help message 2017-02-22 08:10:33 -05:00
Iuri Matias 87ff194ce4 extract method for determing rpc options 2017-02-21 21:04:15 -05:00
Iuri Matias b29f23e28c extract method for determing network type 2017-02-21 21:01:38 -05:00
Iuri Matias d67982ac71 Merge branch 'develop' of github.com:iurimatias/embark-framework into develop 2017-02-21 20:54:16 -05:00
Iuri Matias b5ff1add40 simplify blockchain constructor 2017-02-21 20:54:07 -05:00
Andy Nogueira dd03c747f7 Fixed logic to prevent node exception when running command 'embark blockchain' outside the Dapp folder 2017-02-21 15:45:10 -05:00
Iuri Matias 0e03d8f435 refactor: move dashboard board init logic into a separate module 2017-02-20 18:02:17 -05:00
Iuri Matias cf0ea4299e support disabling blockchain stack; tolerate lack of web3 object 2017-02-20 17:12:13 -05:00
Iuri Matias d1701c4031 add missing enable options to boilerplate configs; add communication initializer 2017-02-20 16:29:59 -05:00
Iuri Matias a9e4435b77 use specified environment when creating data dirs for .embark 2017-02-20 16:11:27 -05:00
Iuri Matias 1a436dcc12 add support for light and fast options; add default pass folders 2017-02-20 15:53:55 -05:00
Iuri Matias e4bcdf7f12 improve help message 2017-02-19 20:13:30 -05:00
Iuri Matias 3890b4a38e refactor to use method to determine app root path, instead of constantly using relative paths 2017-02-19 20:01:42 -05:00
Iuri Matias 73a536c52e refactor to use method to determine app root path, instead of constantly using relative paths 2017-02-19 19:44:16 -05:00
Iuri Matias 8b5e3aa3ab adjust paths 2017-02-19 18:52:41 -05:00
Iuri Matias a8193277da start refactoring index.js 2017-02-19 13:18:43 -05:00
Iuri Matias 5e4ad9a7e5 reorder requires in a more logical manner 2017-02-19 13:17:28 -05:00
Iuri Matias 07d1631d9d move command history to its own module 2017-02-19 12:59:02 -05:00
Iuri Matias 1868788342 reorgnize code structure 2017-02-19 12:51:32 -05:00
Iuri Matias 8da0e80751 move fs methods into their own module 2017-02-19 11:37:54 -05:00
Iuri Matias 4e8546863c remove unnecessary calls() 2017-02-19 09:11:17 -05:00
Iuri Matias 19d35a563e replace glob matching functionality 2017-02-19 00:00:01 -05:00
Iuri Matias 38c98f16fa use nodejs http lib directly to check service status 2017-02-18 23:17:43 -05:00
Iuri Matias c312943248 use saner library to deal with fs 2017-02-18 22:40:42 -05:00
Iuri Matias 3f3a129276 isolate eval in a module 2017-02-18 16:53:49 -05:00
Iuri Matias a83cc6a44a move shelljs scopes to utils; require locally so it doesn't polute the global space 2017-02-18 16:06:39 -05:00
Iuri Matias 08ba95576d move request to utils module 2017-02-18 15:27:08 -05:00
Iuri Matias 2596eb5873 add missing require 2017-02-18 15:07:19 -05:00
Iuri Matias 86cd2a15d1 move merge to utils module 2017-02-18 14:45:57 -05:00
Iuri Matias 58b1f504d5 move grunt methods to utils module 2017-02-18 14:37:07 -05:00
Iuri Matias 833102d175 advice on typing --help when a wrong command is inputed 2017-02-18 14:22:45 -05:00
Iuri Matias 561caa9b0b move join path into utils module 2017-02-18 14:10:01 -05:00
Iuri Matias 55275136b0 clean up; remove unneded requires 2017-02-18 09:39:13 -05:00
Iuri Matias 68d4f5e2fa avoid intercepting logs when using cmds that don't need plugins and the logger 2017-02-18 09:23:19 -05:00
Iuri Matias 38aca05e28 remove unneded plugin dependency from abi 2017-02-18 09:09:36 -05:00
Iuri Matias 655114b394 add config to specify geth command 2017-02-18 08:55:33 -05:00
Iuri Matias 03a6b6c48d option added 2017-02-18 08:41:18 -05:00
Iuri Matias eb36af87b0 add support for the bootnodes config 2017-02-18 08:24:23 -05:00
Iuri Matias 566812696d take configuration options from config and command line arguments when running simulator 2017-02-18 08:01:03 -05:00
Andy Nogueira e6d998fd1a If no arguments are passed to embark, then display help by default 2017-02-17 14:34:07 -05:00
Iuri Matias c339732cd6 make compiler module async 2017-02-17 07:14:44 -05:00
Iuri Matias 27a3a9c3f2 clean up compiler file; remove unused code 2017-02-17 06:16:56 -05:00
Iuri Matias fcd88b9e4a reorder component initialization make log clearer; improve log messages to make them clearer 2017-02-15 20:56:18 -05:00
Iuri Matias 617d40086c add web3 to console help 2017-02-15 20:35:42 -05:00
Iuri Matias bd99a75048 advice user when an unknown command is typed in the console 2017-02-15 20:24:42 -05:00
Iuri Matias a511979cd1 make console output clearer 2017-02-15 20:08:47 -05:00
Iuri Matias 63da0773ae log creating directory as a trace log level 2017-02-15 19:32:29 -05:00
Iuri Matias 097088821b support generating abi file only 2017-02-15 19:27:23 -05:00
Iuri Matias 40ddfff425 support configuring simulator in the tests 2017-02-12 10:01:46 -05:00
Iuri Matias ff09e05965 fix for when maxpeers config is 0 2017-02-11 11:53:11 -05:00
Iuri Matias 6984c13ac6 read storage and communication config files; use & initialize storage depending on config 2017-02-10 07:44:06 -05:00
Iuri Matias d0c020dce5 update to 2.3.0 2017-02-08 06:38:26 -05:00
Iuri Matias f37bc46f8e fix specs; clarify production enviroment (livenet not production); exec testrpc directly 2017-02-08 06:31:57 -05:00
Iuri Matias 135c3c06a7 finclude transaction cost in gas estimation 2017-02-06 21:34:10 -05:00
Iuri Matias fc2c6a41ee cleanup 2017-02-06 21:08:11 -05:00
Iuri Matias 5840e57079 log pipeline file read on a trace level instead of info to reduce initial console log size 2017-02-06 07:03:14 -05:00
Iuri Matias e8db6dc8a0 fix tests 2017-02-06 06:55:42 -05:00
Iuri Matias 4e026fb6e7 support directories in pipeline 2017-02-06 06:51:27 -05:00
Iuri Matias 1cdcaee7d9 fix specs 2017-02-06 06:51:27 -05:00
Iuri Matias 0ec3fba352 if target is directory then copy files 2017-02-06 06:51:27 -05:00
Iuri Matias 6822a9b08c implement compiler plugin 2017-02-06 06:51:27 -05:00
Iuri Matias 2e9a4bb28a implement several plugins 2017-02-06 06:51:27 -05:00
Iuri Matias 352eadab98 add console plugin support 2017-02-06 06:51:26 -05:00
Iuri Matias 0e0b0c99d3 update docs 2017-02-06 06:51:26 -05:00
Iuri Matias 0b88d2fa69 show loading message; immediatly check for services instead of waiting 5 secs 2017-02-06 06:51:26 -05:00
Iuri Matias 136f099b57 remove console log 2017-02-06 06:51:26 -05:00