Skip to content

Commit 0327eef

Browse files
committed
Add docs about --execute
1 parent fa928a9 commit 0327eef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ Sometimes you want to allocate Ether to some specific addresses (maybe some othe
3232
ethnode --allocate=0xad7b5e515e557b2dc4d0625d206394b502412003,0xecdd5b467e38731bfad4bd75faa45c7d58e41b49
3333
```
3434

35+
## Start ethnode to run some tests and then exit
36+
This is quite handy if you want to have a precommit hook that runs tests before committing, or if you want to integrate with a continuous integration system like travis.
37+
38+
```
39+
ethnode --execute="truffle test"
40+
```
41+
3542
## Start
3643

3744
## FAQ

0 commit comments

Comments
 (0)