-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (29 loc) · 1.27 KB
/
Makefile
File metadata and controls
38 lines (29 loc) · 1.27 KB
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
34
35
36
37
38
# Static Analysis Tools Repository Makefile
.PHONY: render render-skip-deprecated check clippy fmt test clean help
# Default target shows help
help:
@echo "Available targets:"
@echo " render - Render README.md and JSON API from YAML sources"
@echo " render-skip-deprecated - Render without deprecated tools"
@echo " check - Run cargo check"
@echo " clippy - Run clippy lints"
@echo " fmt - Format Rust code"
@echo " test - Run tests"
@echo " clean - Clean build artifacts"
@echo " help - Show this help"
# Main rendering targets
render:
cargo run --manifest-path data/render/Cargo.toml -- --tags data/tags.yml --tools data/tools --md-out README.md --json-out data/api
render-skip-deprecated:
cargo run --manifest-path data/render/Cargo.toml -- --tags data/tags.yml --tools data/tools --md-out README.md --json-out data/api --skip-deprecated
# Development targets
check:
cargo check --manifest-path data/render/Cargo.toml
clippy:
cargo clippy --manifest-path data/render/Cargo.toml -- -D warnings
fmt:
cargo fmt --manifest-path data/render/Cargo.toml
test:
cargo test --manifest-path data/render/Cargo.toml
clean:
cargo clean --manifest-path data/render/Cargo.toml