-
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.
* update * Update Cargo.toml * fixes * anyhow::result * update * Bump egui * Bump versions * fix lints * Bump versions * add lints and fix the issues * update * update crates * fix fmt * fix clippy * add scripts * bump versions
- Loading branch information
Showing
11 changed files
with
215 additions
and
65 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@echo on | ||
REM This script runs various CI-like checks in a convenient way. | ||
|
||
setlocal enabledelayedexpansion | ||
set script_path=%~dp0 | ||
cd /d "%script_path%\.." | ||
set RUSTDOCFLAGS=-D warnings | ||
|
||
REM Installing typos-cli if not already installed | ||
cargo install typos-cli --quiet | ||
|
||
REM Running various Rust checks | ||
typos | ||
cargo fmt --all -- --check | ||
cargo clippy --quiet --all-features -- -D warnings | ||
cargo check --quiet --all-targets | ||
cargo test --quiet --all-targets | ||
cargo test --quiet --doc | ||
|
||
echo All checks passed. |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
# This scripts runs various CI-like checks in a convenient way. | ||
|
||
set -eu | ||
script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) | ||
cd "$script_path/.." | ||
set -x | ||
|
||
cargo install --quiet typos-cli | ||
|
||
export RUSTDOCFLAGS="-D warnings" | ||
|
||
typos | ||
cargo fmt --all -- --check | ||
cargo clippy --quiet --all-features -- -D warnings | ||
cargo check --quiet --all-targets | ||
cargo test --quiet --all-targets | ||
cargo test --quiet --doc | ||
|
||
echo "All checks passed." |
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
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
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
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
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
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
Oops, something went wrong.