1 parent 6c6cd7b commit 780b13fCopy full SHA for 780b13f
1 file changed
justfile
@@ -0,0 +1,27 @@
1
+# list available recipes
2
+default:
3
+ @just --list
4
+
5
+# fmt → lint → test → build
6
+[group("ci")]
7
+check: fmt lint test build
8
9
+# format with nightly (required for rustfmt.toml options)
10
+[group("dev")]
11
+fmt:
12
+ cargo +nightly fmt
13
14
+# run clippy with all workspace lints as errors
15
16
+lint:
17
+ cargo clippy --all-targets --all-features -- -D warnings
18
19
+# run tests, accepts extra args: just test --lib
20
21
+test *ARGS:
22
+ cargo test {{ARGS}}
23
24
+# compile the workspace
25
26
+build:
27
+ cargo build
0 commit comments