nix(feat): Add postgrest-git-hooks to enable pre-commit and pre-push hooks
This commit is contained in:
committed by
Wolfgang Walther
parent
74f6e5225c
commit
595c2a5257
@@ -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