Add check.sh helper
This commit is contained in:
parent
4e0ea32d99
commit
e56924dc4f
1 changed files with 14 additions and 0 deletions
14
check.sh
Executable file
14
check.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/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
|
||||
|
||||
|
||||
# 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
|
Loading…
Reference in a new issue