From 19d86132a88f19a8578b6a640a8eefa3e856fdfb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 4 Mar 2017 13:12:29 +0100 Subject: Makefile: Separate refactor and reformat targets. Removed tools/refactor.sh. --- tools/refactor.sh | 8 -------- 1 file changed, 8 deletions(-) delete mode 100755 tools/refactor.sh (limited to 'tools') diff --git a/tools/refactor.sh b/tools/refactor.sh deleted file mode 100755 index 40e3c964e..000000000 --- a/tools/refactor.sh +++ /dev/null @@ -1,8 +0,0 @@ -cppdir=`stack path --dist-dir`/build/autogen -for f in $* -do - echo "Applying hlint --refactor to $f" - hlint --refactor -i --cpp-file=$cppdir/cabal_macros.h $f >/dev/null - echo "Applying stylish-haskell to $f" - stylish-haskell -i $f | perl -ne 'if (/./) { print "\n" x $n, $_; $n = 0 } else { $n++ }' >/dev/null -done -- cgit v1.2.3