Files
mcalc/justfile

42 lines
463 B
Makefile

# Justfile for mcalc
# Default recipe
default: run
# Development
run:
cargo run
run-web:
cargo run --features web
# Build
build:
cargo build
build-release:
cargo build --release
# Testing
test:
cargo test
test-name name:
cargo test {{name}}
# Linting & Formatting
fmt:
cargo fmt
fmt-check:
cargo fmt -- --check
lint:
cargo clippy
lint-strict:
cargo clippy -- -D warnings
# All checks
check: fmt-check lint test