diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-23 23:06:58 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-23 23:06:58 +0800 |
| commit | 7bc63caedf308315647aa7582537e9831844051d (patch) | |
| tree | 1156a90901c3ab05b4e548d71774bffcc55b98b8 /Makefile | |
| parent | ed3ae753c2e406c8996fea745ba0f8789d591e7e (diff) | |
feat: add `doc` target to Makefile
Add a `make doc` recipe that builds and opens documentation with
`cargo doc --no-deps --open`, and register it in the `.PHONY` list.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,8 +1,12 @@ -.PHONY: check clippy check-lock test-crate test-sync test-async expand fmt-expand lock +.PHONY: check clippy check-lock test-crate test-sync test-async expand fmt-expand lock doc # make check check: clippy expand fmt-expand test-crate test-sync test-async check-lock +# make doc +doc: + cargo doc --no-deps --open + # make lock lock: for f in doc/usage/*_expand.rs; do \ |
