Add a section in README to show how to build and test (#117)

This commit is contained in:
Guanqun Lu 2018-08-01 17:21:50 +08:00 committed by Sergey Pepyakin
parent 0a34f1d0f6
commit 8ca6b4b860
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. 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 ## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted Unless you explicitly state otherwise, any contribution intentionally submitted