From 8a24db024f046b8db013b86e89e99b52aa5b6e7e Mon Sep 17 00:00:00 2001 From: tinger Date: Thu, 1 Aug 2024 14:15:30 +0200 Subject: [PATCH] fix(just): Use correct package name for cli crate and remove doc tests. --- Justfile | 4 +++- just/test.just | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 7f40466..b65fe4a 100644 --- a/Justfile +++ b/Justfile @@ -19,7 +19,9 @@ run *args='--release': # run tests and checks similar to CI ci $RUSTFLAGS='-Dwarnings' $RUSTDOCFLAGS='-Dwarnings': - cargo +1.80 test --workspace + # FIXME: See https://github.com/rust-lang/rust/issues/128538 + # add back doc tests by removing --all-targets + cargo +1.80 test --workspace --all-targets cargo +1.80 clippy --workspace cargo +1.80 fmt --all --check cargo +1.80 doc --workspace --no-deps diff --git a/just/test.just b/just/test.just index d2ce9d3..86b58d9 100644 --- a/just/test.just +++ b/just/test.just @@ -10,7 +10,7 @@ lib *args: # run the cli tests cli *args: - cargo nextest run --package typst-test {{ args }} + cargo nextest run --package typst-test-cli {{ args }} # run the doc tests doc *args: