check.sh: fail on rustdoc failure

Same as https://github.com/emilk/egui/pull/1454
This commit is contained in:
Emil Ernerfeldt 2022-04-05 08:07:57 +02:00
parent f8e833ad8b
commit bd25526a4f

View file

@ -6,6 +6,8 @@ set -eux
# Checks all tests, lints etc.
# Basically does what the CI does.
RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454
cargo check --workspace --all-targets
cargo check --workspace --all-targets --all-features
cargo check -p egui_demo_app --lib --target wasm32-unknown-unknown