Stop building dependency docs while testing docs (#360)

Can be quite slow documenting all the dependencies when we don't
actually need to in order to test what we're trying to test

- [x] Changelog updated / no changelog update needed
This commit is contained in:
Gwilym Kuiper 2022-12-10 00:33:30 +00:00 committed by GitHub
commit d27edda339
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,11 +25,11 @@ doctest-agb:
(cd agb && cargo test --doc -Z doctest-xcompile) (cd agb && cargo test --doc -Z doctest-xcompile)
check-docs: check-docs:
(cd agb && cargo doc --target=thumbv6m-none-eabi) (cd agb && cargo doc --target=thumbv6m-none-eabi --no-deps)
just _build_docs agb-fixnum just _build_docs agb-fixnum
_build_docs crate: _build_docs crate:
(cd "{{crate}}" && cargo doc) (cd "{{crate}}" && cargo doc --no-deps)
clean: clean:
just _all-crates _clean just _all-crates _clean
@ -58,6 +58,7 @@ build-roms:
just _build-rom "examples/the-purple-night" "PURPLENIGHT" just _build-rom "examples/the-purple-night" "PURPLENIGHT"
just _build-rom "examples/the-hat-chooses-the-wizard" "HATWIZARD" just _build-rom "examples/the-hat-chooses-the-wizard" "HATWIZARD"
just _build-rom "examples/hyperspace-roll" "HYPERSPACE" just _build-rom "examples/hyperspace-roll" "HYPERSPACE"
just _build-rom "examples/combo" "AGBJAMS"
just _build-rom "book/games/pong" "PONG" just _build-rom "book/games/pong" "PONG"