-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95be0be
commit a321367
Showing
2 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Checks that don't depend on which features are enabled | ||
echo "### fmt --all -- --check ###" | ||
cargo fmt --all -- --check | ||
echo "### clippy --workspace -- -D warnings ###" | ||
cargo clippy --workspace -- -D warnings | ||
# `fmt` doesn't depend on which features are enabled | ||
echo "### fmt --all --check ###" | ||
cargo fmt --all --check | ||
|
||
# Without default features | ||
# With no features | ||
echo "### test --no-default-features --workspace ###" | ||
cargo test --no-default-features --workspace | ||
echo "### check --no-default-features --workspace ###" | ||
cargo check --no-default-features --workspace | ||
echo "### clippy --workspace --all-targets --no-default-features -- -D warnings ###" | ||
cargo clippy --workspace --all-targets --no-default-features -- -D warnings | ||
|
||
# With default features | ||
echo "### test --workspace ###" | ||
cargo test --workspace | ||
echo "### check --workspace ###" | ||
cargo check --workspace | ||
echo "### clippy --workspace --all-targets -- -D warnings ###" | ||
cargo clippy --workspace --all-targets -- -D warnings | ||
|
||
# With all features | ||
echo "### test --all-features --workspace ###" | ||
cargo test --all-features --workspace | ||
echo "### check --all-features --workspace ###" | ||
cargo check --all-features --workspace | ||
echo "### clippy --workspace --all-targets --all-features -- -D warnings ###" | ||
cargo clippy --workspace --all-targets --all-features -- -D warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters