Eric Mastro
d4c04bbed7
Improve dapp imports to allow alternate syntax for importing contracts
...
* Now supports alternate import statements:
* import {Token} from 'Embark/contracts';
* import * as Contracts from 'Embark/contracts';
as well as the existing syntax:
* import Token from 'Embark/contracts/Token';
* Contracts js files moved from .embark to .embark/contracts
* .embark/contracts/index.js generated on the fly which requires all contracts in .embark/contract automatically and then creates a module.exports with each of them.
2018-05-21 21:43:36 +10: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
Iuri Matias
c1de9defcd
Merge pull request #424 from embark-framework/features/remove-upload-option
...
Removed `platform` from the upload command line option as it is being specified in the storage.json config.
2018-05-17 15:20:47 -04:00
Iuri Matias
a967b304e3
Merge pull request #422 from 3esmit/patch-1
...
Initialize web3 provider before deployAll
2018-05-17 15:08:29 -04:00
Iuri Matias
be0da47c54
Merge pull request #430 from embark-framework/bug_fix/dev-early-return-no-sol
...
Early return if no sol files Dev
2018-05-17 10:15:21 -04:00
Jonathan Rainville
8e2af920b8
early callback in compiler
2018-05-17 10:02:53 -04:00
Jonathan Rainville
bcb7c80758
Early return if no sol files
2018-05-17 09:49:50 -04:00
Iuri Matias
c4c6b0fb7d
Merge pull request #428 from embark-framework/bug_fix/vyper-vy
...
fix vyper .vy
2018-05-17 09:46:17 -04:00
Jonathan Rainville
dd78aef3db
fix vyper .vy
2018-05-17 09:40:38 -04:00
Iuri Matias
f828e9d87e
add missing comma
2018-05-17 08:58:26 -04: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
Ricardo Guilherme Schmidt
bc57ca62e3
add missing semicol
2018-05-17 03:00:23 -03:00
Ricardo Guilherme Schmidt
25e95c1002
add EmbarkSpec.getAccounts(cb)
2018-05-16 20:24:08 -03:00
Ricardo Guilherme Schmidt
bfcf72b09a
Initialize web3 provider before deployAll
...
This makes possible to load accounts before deploying the contracts.
2018-05-16 19:40:24 -03:00
Iuri Matias
01ae387c74
Merge pull request #418 from embark-framework/refactor_pipeline
...
Refactor pipeline
2018-05-16 18:15:51 -04:00
Iuri Matias
b1fab3e77c
remove console logs
2018-05-16 18:15:23 -04:00
Iuri Matias
965c34d3ed
replace the es file with one that contains all the existing keys
2018-05-16 18:11:39 -04:00
Iuri Matias
ee041ada20
Merge pull request #417 from embark-framework/features/process-wrapper
...
Add Process Wrapper and Launcher
2018-05-16 18:06:55 -04:00
Jonathan Rainville
c1f72061e3
add tests for processLauncher
2018-05-16 16:41:25 -04:00
Jonathan Rainville
441063dd10
add docs for eventWrapper
2018-05-16 16:41:25 -04:00
Jonathan Rainville
80c382557f
add jsdoc to processWrapper
2018-05-16 16:41:25 -04:00
Jonathan Rainville
d17256dc40
add JS Doc for processLauncher
2018-05-16 16:41:25 -04:00
Jonathan Rainville
1ffc9ffe08
enable events calling for request and on
2018-05-16 16:41:25 -04:00
Jonathan Rainville
953ce6659e
reorg subscribe to message method
2018-05-16 16:41:25 -04:00
Jonathan Rainville
1c125a019c
conflict in en.json
2018-05-16 16:41:15 -04:00
Jonathan Rainville
3c0fda5a40
add eventWrapper not tested
2018-05-16 16:40:17 -04:00
Jonathan Rainville
36850895cf
add process wrapper to handle logs
2018-05-16 16:40:17 -04:00
Iuri Matias
18e23ae334
Merge pull request #419 from embark-framework/bug_fix/max-listeners-warning
...
set max listeners to 50
2018-05-16 16:02:04 -04:00
Iuri Matias
52c9e51deb
add keys for es
2018-05-16 15:28:17 -04:00
Jonathan Rainville
e651884473
set to 200 per Iuri's request
2018-05-16 15:27:38 -04:00
Iuri Matias
597d40e824
add missing keys
2018-05-16 15:26:57 -04:00
Iuri Matias
00e3af9012
lint is king
2018-05-16 15:18:12 -04:00
Jonathan Rainville
0611fee841
set max listeners to 50
2018-05-16 15:08:22 -04:00
Iuri Matias
8ae6c6a646
simplify buildContracts and buildWeb3JS methodsgst
2018-05-16 15:07:47 -04:00
Iuri Matias
4dcd644b7c
remove listeners for command handlers
2018-05-16 13:57:27 -04:00
Iuri Matias
44d6cc32df
remove old remove listener; fix callback
2018-05-16 13:56:23 -04:00
Iuri Matias
ce781ab96e
remove previous listener (for now)
2018-05-16 13:11:44 -04:00
Iuri Matias
b7fc3f9054
refactor write contracts
2018-05-16 12:48:17 -04:00
Iuri Matias
d8a1894803
remove extra method
2018-05-16 10:09:46 -04:00
Iuri Matias
da84cfa769
add missing require
2018-05-16 10:03:05 -04:00
Iuri Matias
6544c2a999
move contracts generation from pipeline to code generator module
2018-05-16 10:00:56 -04:00
Iuri Matias
7271b00cf4
make file changes in the pipelins
2018-05-15 18:21:00 -04:00
Iuri Matias
1f6e386d9b
build web3js generation from pipeline to code_generator
2018-05-15 18:05:44 -04:00
Iuri Matias
256276c884
Merge pull request #415 from embark-framework/features/cargo
...
Add a cargo to not run file write for each file
2018-05-15 18:01:25 -04:00
Jonathan Rainville
38cf7a4aa8
throttle contracts too
2018-05-15 15:41:24 -04:00
Jonathan Rainville
6bff25f3b6
hotfix hide logs of hard-source
2018-05-15 15:01:38 -04:00
Jonathan Rainville
8cee44cbd7
conflict in package lock
2018-05-15 14:42:06 -04:00
Iuri Matias
69e264e765
Merge pull request #413 from embark-framework/features/wallet
...
HD Wallet when providing key or mnemonic
2018-05-15 13:07:30 -04:00
Jonathan Rainville
38dffb9eed
move provider to contracts
2018-05-15 12:45:38 -04:00