Skip to content

Commit 1ebff64

Browse files
Deny warnings for rustdoc and clippy
1 parent 383ba0e commit 1ebff64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ absolve:
2121

2222
clippy:
2323
echo -e "\033[1;35m🔍 Running Clippy on all targets...\033[0m"
24-
cargo +nightly clippy --all-targets
24+
cargo +nightly clippy --all-targets -- -D warnings
2525

2626
nextest:
2727
echo -e "\033[1;33m🏃 Running all but doc-tests with nextest...\033[0m"
2828
cargo +nightly nextest run
2929

3030
doc-tests:
3131
echo -e "\033[1;36m📚 Running documentation tests...\033[0m"
32-
cargo +nightly test --doc
32+
RUSTDOCFLAGS="-D warnings" cargo +nightly test --doc
3333

3434
miri:
3535
echo -e "\033[1;31m🧪 Running tests under Miri...\033[0m"

0 commit comments

Comments
 (0)