32 lines
409 B
Makefile
32 lines
409 B
Makefile
|
# Lists the available actions
|
||
|
default:
|
||
|
@just --list
|
||
|
|
||
|
# Remove generated files
|
||
|
clean:
|
||
|
cargo clean
|
||
|
|
||
|
# Check code syntax
|
||
|
check:
|
||
|
cargo check
|
||
|
|
||
|
# Generate API docs
|
||
|
docs:
|
||
|
cargo doc
|
||
|
|
||
|
# Check code style
|
||
|
lint:
|
||
|
cargo clippy
|
||
|
|
||
|
# Format the code
|
||
|
fmt:
|
||
|
cargo +nightly fmt
|
||
|
|
||
|
# Automatically fix some code syntax/style issues
|
||
|
fix:
|
||
|
cargo fix --allow-dirty --allow-staged
|
||
|
just fmt
|
||
|
|
||
|
# Run the normal tests
|
||
|
test:
|
||
|
cargo test
|