egui/check.sh

16 lines
548 B
Bash
Raw Normal View History

2020-10-17 09:03:10 +00:00
#!/bin/bash
set -eu
cargo check --workspace --all-targets --all-features --release
cargo fmt --all -- --check
CARGO_INCREMENTAL=0 cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all #-W clippy::pedantic -W clippy::restriction -W clippy::nursery
cargo test --workspace --all-targets --all-features
2020-11-06 08:34:33 +00:00
cargo check -p demo_web --target wasm32-unknown-unknown
2020-10-17 09:03:10 +00:00
# For finding bloat:
# cargo bloat --release --bin demo_glium -n 200 | rg egui
# what compiles slowly?
# cargo clean; cargo +nightly build -p egui -Z timings