summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/justfile b/justfile
index 31d3a8b..ab47566 100644
--- a/justfile
+++ b/justfile
@@ -13,6 +13,7 @@ format:
find . -type f -name '*.nix' -print0 | xargs -0rn 1 nixfmt
# Run all checks.
+[env("CARGO_BUILD_WARNINGS", "deny")]
check:
@# Check format
cargo fmt --all --check
@@ -24,8 +25,8 @@ check:
env RUST_LOG=warn taplo lint
cargo clippy --workspace --all-targets --all-features -- --deny warnings
@# Build
- cargo build --workspace --all-targets --all-features
- env RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features --no-deps --document-private-items
+ cargo build --workspace --all-targets --all-features --keep-going
+ cargo doc --all-features --no-deps --document-private-items --keep-going
@# Test
cargo test --workspace --all-targets --all-features
@# Check dependencies for known security vulnerabilities, licenses, etc.
Generated by cgit. See skreutz.com for my tech blog and contact information.