summaryrefslogtreecommitdiffstats
path: root/Justfile
diff options
context:
space:
mode:
authorBenjamin Sago <ogham@bsago.me>2020-10-10 13:33:50 +0100
committerBenjamin Sago <ogham@bsago.me>2020-10-10 13:33:50 +0100
commit74d9f1402b9f0a26a796d0197e44c24c78696693 (patch)
tree6fef47fcd03c54992218fcc359aa21433f10baf6 /Justfile
parent39c3f15602e852fd1e37f77015643e99018bcbe2 (diff)
Some Clippy fixes
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Justfile b/Justfile
index b0df560..63c631b 100644
--- a/Justfile
+++ b/Justfile
@@ -11,7 +11,7 @@ all-release: build-release test-release
cargo build --release --verbose
# compiles the exa binary with every combination of feature flags
-build-features:
+@build-features:
cargo hack build --feature-powerset
@@ -24,16 +24,20 @@ build-features:
cargo test --release --all --verbose
# runs unit tests with every combination of feature flags
-test-features:
+@test-features:
cargo hack test --feature-powerset -- --quiet
+# lints the code
+@clippy:
+ touch src/main.rs
+ cargo clippy
+
# updates dependency versions, and checks for outdated ones
@update:
cargo update
cargo outdated
-
# prints versions of the necessary build tools
@versions:
rustc --version