Skip to content

Commit

Permalink
renamed: utilities/pre_commit.sh -> utilities/pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
drink7036290 committed Dec 18, 2024
1 parent 6aed59d commit ef64ac0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utilities/pre_commit.sh → utilities/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/usr/bin/env bash

# [Run before committing via hook]
# ln -s ../../utilities/pre-commit .git/hooks/

set -e # Exit on error

rustfmt --edition 2024 $(git ls-files '*.rs')
rustfmt --check --edition 2024 $(git ls-files '*.rs')

cargo clippy --all --tests --all-features --no-deps

Expand Down

0 comments on commit ef64ac0

Please sign in to comment.