on master help sign in
Fix typo, make stylize.sh work when a dist directory exists
commit0fec73c8be0e6dd08a45fa3b2fdf387027416663 authorEcho Nolan <echo@echonolan.net> dateWed 19 Oct 2016, 14:36 (10 years ago) parent7ac40af
2 files changed+2−2
Makefile+1−1 stylize.sh+1−1
Makefile+1−1
@@ -24,7 +24,7 @@ pinstall: dist/setup-config
2424build: dist/setup-config
2525 $(CABAL) build $(CABALFLAGS)
2626
27−test: doc test_c sylize
27+test: doc test_c stylize
2828
2929stylize:
3030 ./stylize.sh
stylize.sh+1−1
@@ -11,7 +11,7 @@ then
1111fi
1212
1313
14−find . -name \*.hs -and \( -not -name Setup.hs \) | xargs stylish-haskell -i > stylish-out 2>&1
14+find . -name \*.hs -and \( -not \( -name Setup.hs -or -path ./dist/\* \) \) | xargs stylish-haskell -i > stylish-out 2>&1
1515
1616# It doesn't do exit codes properly, so we just check if it outputted anything.
1717if [ -s stylish-out ];