fork of https://github.com/poanetwork/threshold_crypto for the needs of nextgraph.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
478 B
19 lines
478 B
#!/bin/sh
|
|
|
|
set -xe
|
|
|
|
export RUST_BACKTRACE=1
|
|
|
|
# Enables additional cpu-specific optimizations.
|
|
export RUSTFLAGS="-D warnings -C target-cpu=native"
|
|
|
|
cargo clippy --tests --examples --benches -- --deny clippy::all
|
|
cargo clippy --all-features --tests --examples --benches -- --deny clippy::all
|
|
cargo fmt -- --check
|
|
cargo test
|
|
cargo test --all-features
|
|
cargo test --release
|
|
cargo test --all-features --release
|
|
cargo doc
|
|
cargo deadlinks --dir target/doc/threshold_crypto/
|
|
cargo audit
|
|
|