From c65e1269a06d990697291f5e2762d820ccf9b445 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 25 Apr 2023 07:48:44 +1000 Subject: [PATCH] Test building doc in `ci.yml`/lint (#999) --- justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 2fe19972..a0424679 100644 --- a/justfile +++ b/justfile @@ -214,12 +214,15 @@ test: unit-tests build e2e-tests clippy: print-env {{cargo-bin}} clippy --no-deps -- -D clippy::all +doc: print-env + cargo doc --no-deps --workspace + fmt: print-env cargo fmt --all -- --check fmt-check: fmt -lint: clippy fmt-check +lint: clippy fmt-check doc # Rm dev-dependencies for `cargo-check` and clippy to speedup compilation. # This is a workaround for the cargo nightly option `-Z avoid-dev-deps`