Skip to content

Commit

Permalink
Merge pull request #127 from naomijub/bb
Browse files Browse the repository at this point in the history
Fix bb script (clippy isn't test)
  • Loading branch information
naomijub authored Dec 16, 2023
2 parents 2ab6fb7 + 88be272 commit 60accc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
cargo-fmt {:doc "Checks cargo fmt"
:task (shell "cargo fmt --check")}
cargo-clippy {:doc "Runs cargo clippy"
:task (shell "cargo test")}
:task (do
(shell "cargo clippy --all-features -- -W future-incompatible -W rust_2018_idioms -W clippy::all -W clippy::pedantic -W clippy::nursery --deny warnings")
(shell "cargo clippy --no-default-features -- -W future-incompatible -W rust_2018_idioms -W clippy::all -W clippy::pedantic -W clippy::nursery --deny warnings"))}
test {:doc "Runs all tests and checks"
:depends [cargo-test cargo-fmt cargo-clippy]}}}

0 comments on commit 60accc0

Please sign in to comment.