forked from spnrapp/bitcoins-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
executable file
·49 lines (39 loc) · 1.15 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh
set -e
cargo build --verbose
cargo test --verbose --lib
### BIP32 ###
cd bip32
cargo --verbose build
cargo --verbose build --no-default-features
cargo --verbose build --target wasm32-unknown-unknown
### BIP39 ###
cd ../bip39
cargo --verbose build
cargo --verbose build --no-default-features
cargo --verbose build --target wasm32-unknown-unknown
### Bitcoins ###
cd ../bitcoins
cargo --verbose build --target wasm32-unknown-unknown
# default features covered by workspace-level tests
cargo test --verbose
### Provider ###
cd ../provider
cargo --verbose build
cargo --verbose build --no-default-features --features="mainnet"
cargo build --target wasm32-unknown-unknown
### Ledger ###
cd ../ledger
# # broken on travis
# cargo build --verbose
cargo build --verbose --target wasm32-unknown-unknown --no-default-features --features="browser"
### Ledger bitcoins ###
cd ../ledger-btc
# # broken on travis
# cargo build --verbose
cargo build --verbose --target wasm32-unknown-unknown --no-default-features --features="browser"
### HANDSHAKE ###
cd ../handshakes
cargo build --verbose
cargo test --verbose --lib
cargo --verbose build --target wasm32-unknown-unknown