.PHONY: build test clean install release lint fmt check docs
build:
cargo build
release:
cargo build --release
test:
cargo test
test-verbose:
cargo test -- --nocapture
clean:
cargo clean
install: release
cargo install --path .
uninstall:
cargo uninstall maki
lint:
cargo clippy -- -D warnings
fmt:
cargo fmt
fmt-check:
cargo fmt -- --check
check: fmt-check lint test
docs:
cargo doc --open
run:
cargo run
run-args:
cargo run -- $(ARGS)
watch:
cargo watch -x build
bump:
cargo set-version --bump $(V)
greet:
@echo "Hello, $(NAME)!"
mood:
@echo "I'm feeling $(FEELING) today!"
name:
@echo "My name is $(NAME)!"
publish: check
cargo publish