Carp/scripts/git-hooks
Tim Dévé 1863c82559
chore: Creates pre-commit hook to format Haskell code (#1047)
* chore: moves git hook into own folder

This is is done in preparation of having other git hooks

* chore: Creates script to run formatter

* chore: Checks that ormolu is installed before running it

* chore: Adds pre-commit hook to format Haskell files

* chore: Ensures the ormolu instruction are outputted when running hook

* chore: Prints formatted files on newlines
2020-12-05 14:26:28 +01:00
..
commit-msg.sh chore: Creates pre-commit hook to format Haskell code (#1047) 2020-12-05 14:26:28 +01:00
pre-commit.sh chore: Creates pre-commit hook to format Haskell code (#1047) 2020-12-05 14:26:28 +01:00
setup.sh chore: Creates pre-commit hook to format Haskell code (#1047) 2020-12-05 14:26:28 +01:00