add pre-commit check script
This commit is contained in:
parent
9cf6333f4b
commit
1735ec5594
1 changed files with 6 additions and 0 deletions
6
hooks/pre-commit
Executable file
6
hooks/pre-commit
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euxo pipefail
|
||||||
|
|
||||||
|
nix fmt
|
||||||
|
|
||||||
|
nix flake check --all-systems --show-trace
|
Loading…
Add table
Add a link
Reference in a new issue