add a section in README to show how to build and test

This commit is contained in:
Guanqun Lu 2018-07-26 16:50:02 +08:00
parent 9ed95e49c1
commit 6ee15a4533
1 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,17 @@ license and the Apache License (Version 2.0), at your choice.
See LICENSE-APACHE, and LICENSE-MIT for details.
# Build & Test
As `wasmi` contains a git submodule, you need to use `--recursive` for cloning or to checkout the submodule explicitly, otherwise the testing would fail.
```
git clone https://github.com/paritytech/wasmi.git --recursive
cd wasmi
cargo build
cargo test
```
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted