Skip to content

Commit 5056547

Browse files
committed
feat: add justfile
1 parent 5ef7437 commit 5056547

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

justfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
set shell := ["bash", "-cu"]
2+
set dotenv-load := true
3+
4+
# display a help message about available commands
5+
default:
6+
@just --list --unsorted
7+
8+
9+
# run all recipes required to pass CI workflows
10+
ci:
11+
@just fmt lint test
12+
13+
# run unit tests
14+
test:
15+
cargo nextest run --workspace -E "kind(lib) | kind(bin) | kind(proc-macro)"
16+
17+
# run collection of clippy lints
18+
lint:
19+
RUSTFLAGS="-D warnings" cargo clippy --examples --tests --benches --all-features --locked
20+
21+
# format the code using the nightly rustfmt (as we use some nightly lints)
22+
fmt:
23+
cargo +nightly fmt --all

0 commit comments

Comments
 (0)