Skip to content

Commit

Permalink
fix(just): Use correct package name for cli crate and remove doc tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Aug 2, 2024
1 parent 2630aed commit 8a24db0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion just/test.just
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8a24db0

Please sign in to comment.