Improve the README, add examples

This commit is contained in:
Alekos Filini
2020-09-07 11:16:41 +02:00
parent 6a2d0db674
commit c4f4f20d8b
6 changed files with 484 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ env:
- TARGET=x86_64-unknown-linux-gnu FEATURES=cli-utils,esplora NO_DEFAULT_FEATURES=1
- TARGET=x86_64-unknown-linux-gnu FEATURES=compiler NO_DEFAULT_FEATURES=1 RUN_TESTS=1 # Test the `miniscriptc` example
- TARGET=x86_64-unknown-linux-gnu FEATURES=test-electrum NO_DEFAULT_FEATURES=1 RUN_TESTS=1 RUN_CORE=1
- TARGET=x86_64-unknown-linux-gnu FEATURES=test-md-docs NO_DEFAULT_FEATURES=1 RUN_TESTS=1 NIGHTLY=1
- TARGET=wasm32-unknown-unknown FEATURES=cli-utils,esplora NO_DEFAULT_FEATURES=1
before_script:
- |
@@ -33,6 +34,11 @@ before_script:
if [[ $CHECK_FMT -eq 1 ]]; then
rustup component add rustfmt
fi
- |
if [[ $NIGHTLY -eq 1 ]]; then
rustup toolchain install nightly
rustup default nightly
fi
- rustup target add "$TARGET"
script:
- |