Skip to content

Commit 81c51aa

Browse files
committed
check-stylish: one of the io-classes module is not parsable
Use the `fd` command in a way which allows to match relative paths and exclude files by relative path.
1 parent 9805bc5 commit 81c51aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/check-stylish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export LC_ALL=C.UTF-8
55

66
[[ -x '/usr/bin/fd' ]] && FD="fd" || FD="fdfind"
77

8-
$FD . './io-sim' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
9-
$FD . './io-classes' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
10-
$FD . './strict-stm' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
8+
$FD -E Setup.hs -g '*.hsc?$' io-sim -X stylish-haskell -c .stylish-haskell.yaml -i
9+
$FD -E Setup.hs -E src/Control/Concurrent/Class/MonadSTM.hs -g '*.hsc?$' io-classes -X stylish-haskell -c .stylish-haskell.yaml -i
10+
$FD -E Setup.hs -g '*.hsc?$' strict-stm -X stylish-haskell -c .stylish-haskell.yaml -i

0 commit comments

Comments
 (0)