forked from ratatui/ratatui
-
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.
ci(pre-push hook): automate loading pre-push hook with cargo-husky
add cargo-husky to dev-deps, create hook, update `CONTRIBUTING.md` ratatui#214
- Loading branch information
1 parent
b808305
commit a569adc
Showing
3 changed files
with
17 additions
and
0 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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
if command cargo-make >/dev/null 2>&1; then # Check if cargo-make is installed | ||
echo "cargo-make installed, running..." | ||
else | ||
echo "cargo-make not installed, installing..." | ||
cargo install cargo-make | ||
fi | ||
|
||
cargo make ci |
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