aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-05-21 08:11:04 +0000
committerFuwn <[email protected]>2025-05-21 08:54:07 +0000
commit4e8ca43ee717f52158704ed1878d870a22746e86 (patch)
tree03b37f8ba848ca737557eff52b42530b4ac85a8c
parentdocs: Add README (diff)
downloadjustfiles-4e8ca43ee717f52158704ed1878d870a22746e86.tar.xz
justfiles-4e8ca43ee717f52158704ed1878d870a22746e86.zip
feat: Add Justfile for Cargo (Rust)HEADmain
-rw-r--r--cargo.just21
1 files changed, 21 insertions, 0 deletions
diff --git a/cargo.just b/cargo.just
new file mode 100644
index 0000000..1a8ca66
--- /dev/null
+++ b/cargo.just
@@ -0,0 +1,21 @@
+fmt:
+ cargo fmt
+
+check:
+ cargo check --all-features
+
+clippy:
+ cargo clippy --all-features
+
+checkf:
+ @just fmt
+ @just check
+
+checkfc:
+ @just checkf
+ cargo clippy
+
+run +arguments="":
+ @just checkfc
+ cargo run -- {{arguments}}
+