forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
check.sh
executable file
·32 lines (24 loc) · 1.06 KB
/
check.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
#!/usr/bin/env bash
# This scripts runs various CI-like checks in a convenient way.
set -eux
RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454
cargo build --all-features
cargo check --workspace --all-targets --all-features
cargo check -p viewer --all-features --lib --target wasm32-unknown-unknown
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all
cargo test --workspace --all-targets --all-features
cargo test --workspace --doc --all-features
cargo doc --lib --no-deps --all-features
cargo doc --document-private-items --no-deps --all-features
(cd comms && cargo check --no-default-features)
(cd log_types && cargo check --no-default-features)
(cd viewer && cargo check --no-default-features)
(cd web_server && cargo check --no-default-features)
(cd comms && cargo check --all-features)
(cd log_types && cargo check --all-features)
(cd viewer && cargo check --all-features)
(cd web_server && cargo check --all-features)
./viewer/wasm_bindgen_check.sh
cargo deny check
echo "All checks passed!"