From 995151bd76fb612afd09e62b8598139ff5e6198c Mon Sep 17 00:00:00 2001 From: Corwin Date: Wed, 12 Oct 2022 17:29:20 +0100 Subject: [PATCH] check docs in ci --- justfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 201ced58..9090733e 100644 --- a/justfile +++ b/justfile @@ -24,6 +24,13 @@ test-release: doctest-agb: (cd agb && cargo test --doc -Z doctest-xcompile) +check-docs: + (cd agb && cargo doc --target=thumbv6m-none-eabi) + just _build_docs agb-fixnum + +_build_docs crate: + (cd "{{crate}}" && cargo doc) + clean: just _all-crates _clean @@ -45,7 +52,7 @@ check-linker-script-consistency: find -type f -name gba.ld -print0 | xargs -0 -n1 cmp -- agb/gba.ld find -type f -name gba_mb.ld -print0 | xargs -0 -n1 cmp -- agb/gba_mb.ld -ci: check-linker-script-consistency build-debug clippy test build-release test-release doctest-agb build-roms build-book +ci: check-linker-script-consistency build-debug clippy test build-release test-release doctest-agb build-roms build-book check-docs build-roms: just _build-rom "examples/the-purple-night" "PURPLENIGHT"