Created
February 26, 2020 13:34
-
-
Save kutyel/c2fbefb917f4245efadbd6d8c004994b to your computer and use it in GitHub Desktop.
Format all Cabal files in a Haskell project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*.cabal' -exec sh -c 'cabal-fmt $0 > output.tmp; mv output.tmp $0' {} ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment