mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Improve documentation
This commit is contained in:
10
check.sh
10
check.sh
@@ -1,19 +1,25 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
# Checks all tests, lints etc.
|
||||
# Basically does what the CI does.
|
||||
|
||||
cargo check --workspace --all-targets
|
||||
cargo test --workspace --doc
|
||||
cargo check --workspace --all-targets --all-features
|
||||
cargo check -p egui_demo_app --lib --target wasm32-unknown-unknown
|
||||
cargo check -p egui_demo_app --lib --target wasm32-unknown-unknown --all-features
|
||||
cargo fmt --all -- --check
|
||||
CARGO_INCREMENTAL=0 cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all
|
||||
cargo test --workspace --all-targets --all-features
|
||||
cargo test --workspace --doc
|
||||
cargo fmt --all -- --check
|
||||
|
||||
# TODO: doesn't error, but at least prints a warning.
|
||||
cargo doc -p emath -p epaint -p egui -p eframe -p epi -p egui_web -p egui_glium --lib --no-deps
|
||||
cargo doc -p egui_web --target wasm32-unknown-unknown --lib --no-deps
|
||||
|
||||
# ------------------------------------------------------------
|
||||
#
|
||||
|
||||
# For finding bloat:
|
||||
# cargo bloat --release --bin demo_glium -n 200 | rg egui
|
||||
|
||||
|
||||
Reference in New Issue
Block a user