mu-haskell/cabal-fmt.sh

2 lines
88 B
Bash
Raw Normal View History

find . -name '*.cabal' -exec sh -c 'cabal-fmt $0 > output.tmp; mv output.tmp $0' {} ';'