-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces some tweaks to this project: 1) Adhere Keep a Changelog to track release notes. 2) Refine development environment management. Specifically, bring `rust-toolchain.toml` back to force the Rust toolchain for development, and reduce Nix flake package dependencies.
- Loading branch information
Showing
10 changed files
with
220 additions
and
192 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[*.sh] | ||
indent_style = tab |
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,13 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
if command -v nix &>/dev/null; then | ||
nix develop .#msrv --command cargo check | ||
fi | ||
if command -v cargo &>/dev/null; then | ||
if command -v cargo-clippy &>/dev/null; then | ||
cargo clippy | ||
else | ||
cargo check | ||
fi | ||
cargo test | ||
fi |
Oops, something went wrong.