-
-
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
997e665
commit 7d7f9cf
Showing
2 changed files
with
11 additions
and
11 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,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Checks that don't depend on which features are enabled | ||
echo "### cargo fmt -- --check ###" | ||
cargo fmt --workspace -- --check | ||
echo "### cargo clippy --no-deps -- -D warnings ###" | ||
echo "### fmt --all -- --check ###" | ||
cargo fmt --all -- --check | ||
echo "### clippy --workspace -- -D warnings ###" | ||
cargo clippy --workspace -- -D warnings | ||
|
||
# Without default features | ||
echo "### cargo test --no-default-features ###" | ||
echo "### test --no-default-features --workspace ###" | ||
cargo test --no-default-features --workspace | ||
echo "### cargo check --no-default-features ###" | ||
echo "### check --no-default-features --workspace ###" | ||
cargo check --no-default-features --workspace | ||
|
||
# With default features | ||
echo "### cargo test ###" | ||
echo "### test --workspace ###" | ||
cargo test --workspace | ||
echo "### cargo check ###" | ||
echo "### check --workspace ###" | ||
cargo check --workspace | ||
|
||
# With all features | ||
echo "### cargo test --all-features ###" | ||
echo "### test --all-features --workspace ###" | ||
cargo test --all-features --workspace | ||
echo "### cargo check --all-features ###" | ||
echo "### check --all-features --workspace ###" | ||
cargo check --all-features --workspace |
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