Skip to content

Commit

Permalink
Add a justfile
Browse files Browse the repository at this point in the history
`just` makes invocations of various tools more discoverable and gives a
quick way to run them.
  • Loading branch information
tcharding committed May 13, 2024
1 parent 0cdbc25 commit 6b3fdd1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
default:
@just --list

# Cargo build everything.
build:
cargo build --workspace --all-targets

# Cargo check everything.
check:
cargo check --workspace --all-targets

# Lint everything.
lint:
cargo clippy --workspace --all-targets

# Run the formatter.
fmt:
cargo fmt --all

# Check the formatting.
format:
cargo fmt --all --check

# Test the workspace.
test:
cargo test --workspace --all-targets

0 comments on commit 6b3fdd1

Please sign in to comment.