-
-
Notifications
You must be signed in to change notification settings - Fork 805
Expand file tree
/
Copy pathjustfile
More file actions
21 lines (18 loc) · 641 Bytes
/
justfile
File metadata and controls
21 lines (18 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
_list:
@just --list
# Format project.
[group("lint")]
fmt:
fd --type=file --hidden --extension=yml --extension=md --extension=js --exec-batch prettier --write
fd --hidden --extension=toml --exec-batch taplo format
cargo +nightly fmt
# Check project.
[group("lint")]
check: && clippy
fd --type=file --hidden --extension=yml --extension=md --extension=js --exec-batch prettier --check
fd --hidden --extension=toml --exec-batch taplo format --check
fd --hidden --extension=toml --exec-batch taplo lint
# Run Clippy over workspace.
[group("lint")]
clippy:
cargo clippy --workspace --all-targets --all-features