From 4be292ec56f6712d76113616ccb3be55ba34f29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jann=20M=C3=BCller?= Date: Wed, 18 Dec 2024 11:09:21 +0100 Subject: [PATCH] Add fix-cabal-fmt.sh --- fix-cabal-fmt.sh | 3 +++ fix-fourmolu.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 fix-cabal-fmt.sh diff --git a/fix-cabal-fmt.sh b/fix-cabal-fmt.sh new file mode 100755 index 0000000..01ae310 --- /dev/null +++ b/fix-cabal-fmt.sh @@ -0,0 +1,3 @@ +#! /bin/bash + +fd --extension cabal --exclude 'dist-newstyle/*' --exclude 'dist/*' --exclude '.stack-work/*' --exec bash -c "cabal-fmt --inplace {}" diff --git a/fix-fourmolu.sh b/fix-fourmolu.sh index e33aa2b..a901496 100755 --- a/fix-fourmolu.sh +++ b/fix-fourmolu.sh @@ -1,3 +1,3 @@ #! /bin/bash -fd --extension hs --exclude 'dist-newstyle/*' --exclude 'dist/*' --exclude '.stack-work/*' --exec bash -c "fourmolu --quiet --mode inplace {}" \ No newline at end of file +fd --extension hs --exclude 'dist-newstyle/*' --exclude 'dist/*' --exclude '.stack-work/*' --exec bash -c "fourmolu --quiet --mode inplace {}"