Skip to content

Commit 5ee65af

Browse files
committed
stylish-haskell
Fixed check-stylish on ubuntu.
1 parent 048e217 commit 5ee65af

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/check-stylish.sh

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

6-
fd . './typed-protocols' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
7-
fd . './typed-protocols-cborg' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
8-
fd . './typed-protocols-examples' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
6+
[[ -x '/usr/bin/fd' ]] && FD="fd" || FD="fdfind"
7+
8+
$FD . './typed-protocols' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
9+
$FD . './typed-protocols-cborg' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i
10+
$FD . './typed-protocols-examples' -e hs -E Setup.hs -X stylish-haskell -c .stylish-haskell.yaml -i

0 commit comments

Comments
 (0)