Add default list recipies, add comments, remove run recipe
This commit is contained in:
14
justfile
14
justfile
@ -1,19 +1,29 @@
|
|||||||
#!/usr/bin/env just --justfile
|
#!/usr/bin/env just --justfile
|
||||||
|
|
||||||
run:
|
# List all recipes
|
||||||
cargo run
|
default:
|
||||||
|
@just --list
|
||||||
|
|
||||||
|
# Open a nix shell with all dependencies in path
|
||||||
|
develop:
|
||||||
|
nix develop
|
||||||
|
|
||||||
|
# Format all rust files
|
||||||
fmt:
|
fmt:
|
||||||
cargo fmt --all
|
cargo fmt --all
|
||||||
|
|
||||||
|
# Lint all files with clippy
|
||||||
lint:
|
lint:
|
||||||
cargo clippy --all-targets --all-features -- -D warnings
|
cargo clippy --all-targets --all-features -- -D warnings
|
||||||
|
|
||||||
|
# Build a release version
|
||||||
release:
|
release:
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
|
# Run all tests
|
||||||
test:
|
test:
|
||||||
cargo test --all-features --workspace
|
cargo test --all-features --workspace
|
||||||
|
|
||||||
|
# Run coverage
|
||||||
coverage:
|
coverage:
|
||||||
cargo llvm-cov
|
cargo llvm-cov
|
||||||
|
Reference in New Issue
Block a user