34 lines
470 B
Makefile
34 lines
470 B
Makefile
set positional-arguments
|
|
|
|
run *args:
|
|
cargo run -- "$@"
|
|
|
|
build:
|
|
cargo build
|
|
|
|
build-release:
|
|
cargo build --release
|
|
|
|
build-production:
|
|
cargo build --profile production
|
|
|
|
fmt:
|
|
cargo +nightly fmt
|
|
tombi format
|
|
just --fmt
|
|
|
|
_fix:
|
|
cargo fix
|
|
cargo clippy --fix
|
|
|
|
fix: _fix fmt
|
|
|
|
clippy:
|
|
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
|
|
|
test:
|
|
cargo test --workspace --all-targets --all-features
|
|
|
|
clean:
|
|
cargo clean
|