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 7, 2024
1 parent f19c1b5 commit 9035f3c
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 9035f3c

Please sign in to comment.