Skip to content

Commit 5e88c33

Browse files
committed
make: break out doc build from 'ci' target
Break out the doc build from the base 'ci' target because it requires tweaking the compiler flags which blows away the cache for subsequent, normal builds.
1 parent 405f213 commit 5e88c33

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ check-fmt:
77
clippy:
88
cargo clippy --all-features --all-targets
99

10-
doc:
11-
RUSTDOCFLAGS="--cfg=doc_cfg -Zunstable-options --generate-link-to-definition" RUSTC_BOOTSTRAP=1 cargo doc --all-features --no-deps
12-
1310
test:
1411
cargo test --all-features
1512

1613
wasm:
1714
CC=clang wasm-pack test --node --all-features
1815

19-
ci: check-features check-fmt clippy doc test wasm
16+
doc:
17+
RUSTDOCFLAGS="--cfg=doc_cfg -Zunstable-options --generate-link-to-definition" RUSTC_BOOTSTRAP=1 cargo doc --all-features --no-deps
18+
19+
doc-open:
20+
RUSTDOCFLAGS="--cfg=doc_cfg -Zunstable-options --generate-link-to-definition" RUSTC_BOOTSTRAP=1 cargo doc --all-features --no-deps --open
21+
22+
ci: check-features check-fmt clippy test wasm
23+
24+
ci-full: ci doc
2025

2126
clean:
2227
cargo clean

0 commit comments

Comments
 (0)