Skip to content

Commit

Permalink
Add fix-cabal-fmt.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mueller committed Dec 18, 2024
1 parent 0601b8f commit 4be292e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions fix-cabal-fmt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/bash

fd --extension cabal --exclude 'dist-newstyle/*' --exclude 'dist/*' --exclude '.stack-work/*' --exec bash -c "cabal-fmt --inplace {}"
2 changes: 1 addition & 1 deletion fix-fourmolu.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /bin/bash

fd --extension hs --exclude 'dist-newstyle/*' --exclude 'dist/*' --exclude '.stack-work/*' --exec bash -c "fourmolu --quiet --mode inplace {}"
fd --extension hs --exclude 'dist-newstyle/*' --exclude 'dist/*' --exclude '.stack-work/*' --exec bash -c "fourmolu --quiet --mode inplace {}"

0 comments on commit 4be292e

Please sign in to comment.