sshuttle-gui/check.sh

12 lines
414 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2020-12-26 15:55:33 -06:00
# This scripts runs various CI-like checks in a convenient way.
2021-05-10 11:40:49 -05:00
set -eux
2020-12-26 15:55:33 -06:00
cargo check --workspace --all-targets
cargo check --workspace --all-features --lib --target wasm32-unknown-unknown
2020-12-26 15:55:33 -06:00
cargo fmt --all -- --check
2021-05-10 11:40:49 -05:00
cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all
2020-12-26 15:55:33 -06:00
cargo test --workspace --all-targets --all-features
cargo test --workspace --doc
trunk build