-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 865 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (21 loc) · 865 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
.PHONY: build test test-coverage test-section-coverage test-directive-coverage clean gen-docs gen-docs-check
build: test
cargo build --release
test:
@cargo test --verbose
test-section-coverage:
@cargo test --test lsp_tests all_sections_have_documentation -- --ignored --no-capture
test-directive-coverage:
@cargo test --test lsp_tests all_directives_have_documentation -- --ignored --no-capture
test-coverage:
@echo "=== Checking Section Documentation Coverage ==="
@cargo test --test lsp_tests all_sections_have_documentation -- --ignored --no-capture || true
@echo ""
@echo "=== Checking Directive Documentation Coverage ==="
@cargo test --test lsp_tests all_directives_have_documentation -- --ignored --no-capture || true
gen-docs:
@cd tools/doc-sync/ && go run . --generate
gen-docs-check:
@cd tools/doc-sync/ && go run .
clean:
cargo clean