mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-04-30 16:21:10 +00:00
contrib: check pre-commit in repo root
This commit is contained in:
parent
d7ac77a1d9
commit
d5cc097e7a
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
cargo fmt -- --check
|
||||
fd -e nix | xargs nixfmt --check
|
||||
if ! out="$(cargo machete 2>/dev/null)"; then
|
||||
|
|
Loading…
Add table
Reference in a new issue