File tree Expand file tree Collapse file tree 7 files changed +697
-364
lines changed Expand file tree Collapse file tree 7 files changed +697
-364
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : render
1
+ # Static Analysis Tools Repository Makefile
2
+
3
+ .PHONY : render render-skip-deprecated check clippy fmt test clean help
4
+
5
+ # Default target shows help
6
+ help :
7
+ @echo " Available targets:"
8
+ @echo " render - Render README.md and JSON API from YAML sources"
9
+ @echo " render-skip-deprecated - Render without deprecated tools"
10
+ @echo " check - Run cargo check"
11
+ @echo " clippy - Run clippy lints"
12
+ @echo " fmt - Format Rust code"
13
+ @echo " test - Run tests"
14
+ @echo " clean - Clean build artifacts"
15
+ @echo " help - Show this help"
16
+
17
+ # Main rendering targets
2
18
render :
3
19
cargo run --manifest-path data/render/Cargo.toml -- --tags data/tags.yml --tools data/tools --md-out README.md --json-out data/api
4
20
5
- .PHONY : render-skip-deprecated
6
21
render-skip-deprecated :
7
- 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
22
+ 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
23
+
24
+ # Development targets
25
+ check :
26
+ cargo check --manifest-path data/render/Cargo.toml
27
+
28
+ clippy :
29
+ cargo clippy --manifest-path data/render/Cargo.toml -- -D warnings
30
+
31
+ fmt :
32
+ cargo fmt --manifest-path data/render/Cargo.toml
33
+
34
+ test :
35
+ cargo test --manifest-path data/render/Cargo.toml
36
+
37
+ clean :
38
+ cargo clean --manifest-path data/render/Cargo.toml
You can’t perform that action at this time.
0 commit comments