Skip to content

Commit 0e69f0e

Browse files
committed
Clean pre-commit
1 parent ecb7ab1 commit 0e69f0e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.pre-commit.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ cargo clippy --version &>/dev/null || rustup component add clippy
1919
cargo machete --version &>/dev/null || cargo install --locked cargo-machete
2020
cargo sort --version &>/dev/null || cargo install --locked cargo-sort
2121
cargo sqlx --version &>/dev/null || cargo install --locked sqlx-cli
22-
rusty-hook --version &>/dev/null || cargo install --locked rusty-hook
2322
typos --version &>/dev/null || cargo install --locked typos-cli
2423

2524
rustup toolchain list | grep -q 'nightly' || rustup toolchain install nightly
@@ -30,7 +29,7 @@ typos .
3029
cargo machete
3130
cargo +nightly fmt -- --check
3231
cargo sort -c
33-
cargo test --examples --tests
32+
cargo test --all-targets
33+
cargo test --doc
3434
cargo sqlx prepare && git add .sqlx
35-
cargo sync-readme && git add README.md
36-
cargo clippy --examples --tests -- -D warnings
35+
cargo clippy --all-targets -- -D warnings

0 commit comments

Comments
 (0)