Skip to content

Commit 401bf05

Browse files
committed
Add a justfile
`just` makes invocations of various tools more discoverable and gives a quick way to run them.
1 parent 97081ec commit 401bf05

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Diff for: justfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
default:
2+
@just --list
3+
4+
# Cargo build everything.
5+
build:
6+
cargo build --workspace --all-targets
7+
8+
# Cargo check everything.
9+
check:
10+
cargo check --workspace --all-targets
11+
12+
# Lint everything.
13+
lint:
14+
cargo clippy --workspace --all-targets -- --deny warnings
15+
16+
# Run the formatter.
17+
fmt:
18+
cargo fmt --all
19+
20+
# Check the formatting.
21+
format:
22+
cargo fmt --all --check
23+
24+
# Test the workspace.
25+
test:
26+
cargo test --workspace --all-targets

0 commit comments

Comments
 (0)