Skip to content

Commit

Permalink
Some improvements to ./tools/check.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
orium committed Sep 14, 2023
1 parent 7a16233 commit 9635cc7
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions tools/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,15 @@ trap on_failure ERR
echo 'Building:'
cargo build --features fatal-warnings --all-targets
echo 'Testing:'
cargo test --features fatal-warnings
cargo test --features fatal-warnings --all-targets
echo 'Checking documentation:'
cargo doc --features fatal-warnings --no-deps --document-private-items
cargo doc --features fatal-warnings --no-deps --document-private-items

# TODO Enable this once it works.
#
# echo 'Checking links:'
# cargo deadlinks
echo 'Checking links:'
cargo deadlinks

# TODO Enable this if we ever want to publish this to crates.io.
# echo 'Checking packaging:'
# cargo package --allow-dirty
echo 'Checking packaging:'
cargo package --allow-dirty
echo 'Checking code style:'
cargo fmt -- --check
echo 'Checking readme:'
Expand Down

0 comments on commit 9635cc7

Please sign in to comment.