-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 772 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: build test test-all lint coverage clean release help
help:
@echo "Available targets:"
@echo " build - Build the project in debug mode"
@echo " release - Build the project in release mode"
@echo " test - Run fast tests (no network)"
@echo " test-all - Run all tests including network-dependent ones"
@echo " lint - Run clippy linter"
@echo " coverage - Generate test coverage report (requires cargo-llvm-cov)"
@echo " clean - Clean build artifacts"
build:
cargo build
release:
cargo build --release
test:
cargo test
test-all:
cargo test -- --include-ignored
lint:
cargo clippy -- -D warnings
coverage:
cargo llvm-cov --html
@echo "Coverage report generated at target/llvm-cov/html/index.html"
clean:
cargo clean