.PHONY: build test check doc watch-test help
build:
cargo build -p blockchain-core
test:
cargo test -p blockchain-core
check:
cargo check -p blockchain-core
doc:
cargo doc -p blockchain-core --no-deps --open
watch-test:
cargo watch -x "test -p blockchain-core"
lint:
cargo clippy -p blockchain-core -- -D warnings
help:
@echo "Available targets:"
@echo " build - Build the crate"
@echo " test - Run tests"
@echo " check - Check for compilation"
@echo " doc - Generate documentation"
@echo " watch-test - Run tests in watch mode"
@echo " lint - Run clippy lints"