diff --git a/justfile b/justfile index 56a279f5a..59af22bcb 100755 --- a/justfile +++ b/justfile @@ -76,9 +76,14 @@ test: lint: cargo lint -- --deny warnings +[unix] doc: RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --document-private-items +[windows] +doc: + $Env:RUSTDOCFLAGS='-D warnings'; cargo doc --no-deps --document-private-items + # Fix all auto-fixable format and lint issues. Make sure your working tree is clean first. fix: cargo clippy --fix --allow-staged --no-deps