check.sh: fail on rustdoc failure
Same as https://github.com/emilk/egui/pull/1454
This commit is contained in:
parent
f8e833ad8b
commit
bd25526a4f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue