Skip to content

Commit 167032a

Browse files
committed
Add justfile
Add a `justfile` to make dev life easier.
1 parent 7201282 commit 167032a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

justfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
default:
2+
@just --list
3+
4+
# Cargo build everything.
5+
build:
6+
cargo build --all-targets
7+
8+
# Cargo check everything.
9+
check:
10+
cargo check --all-targets
11+
12+
# Lint everything.
13+
lint:
14+
cargo clippy --all-targets -- --deny warnings
15+
16+
# Check the formatting
17+
format:
18+
cargo +nightly fmt --all --check
19+
20+
# Update the recent and minimal lock files.
21+
update-lock-files:
22+
contrib/update-lock-files.sh

0 commit comments

Comments
 (0)