nix(feat): Add postgrest-git-hooks to enable pre-commit and pre-push hooks
This commit is contained in:
committed by
Steve Chavez
parent
7940e73a12
commit
3c8e309a32
@@ -44,6 +44,8 @@ let
|
||||
''
|
||||
${style}
|
||||
|
||||
trap "echo postgrest-style-check failed. Run postgrest-style to fix issues automatically." ERR
|
||||
|
||||
${git}/bin/git diff-index --exit-code HEAD -- '*.hs' '*.lhs' '*.nix'
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user