Merge pull request #54 from Liqwid-Labs/connor/use-the-correct-nixfmt
Use the right nixfmt
This commit is contained in:
commit
5d1aee3ccf
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -20,7 +20,7 @@ hoogle:
|
|||
FORMAT_EXTENSIONS := -o -XQuasiQuotes -o -XTemplateHaskell -o -XTypeApplications -o -XImportQualifiedPost -o -XPatternSynonyms -o -XOverloadedRecordDot
|
||||
format:
|
||||
find -name '*.hs' -not -path './dist-*/*' | xargs fourmolu $(FORMAT_EXTENSIONS) -m inplace
|
||||
git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.nix' | xargs nixfmt
|
||||
git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.nix' | xargs nixpkgs-fmt
|
||||
git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.cabal' | xargs cabal-fmt -i
|
||||
|
||||
format_check:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue