From e56924dc4fbc4e2324348188a9bc35680eb9c923 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 17 Oct 2020 11:03:10 +0200 Subject: [PATCH] Add check.sh helper --- check.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 check.sh diff --git a/check.sh b/check.sh new file mode 100755 index 00000000..f9bfec2e --- /dev/null +++ b/check.sh @@ -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