Update haskell-watch-lint

c54f41ec2d92cbac5a964cd3fd860a1d51940f04
Alexis Sellier committed ago 1 parent 17c7fd90
bin/haskell-watch-lint +2 -2
1 1
#!/bin/sh
2 2
3 3
if [ -f "$1" ]; then
4 -
  ag --haskell -g "" | entr -c -p hlint -h=$1 -h=HLint /_
4 +
  rg --type haskell --files | entr -c hlint -h=$1 -h=HLint /_
5 5
else
6 -
  ag --haskell -g "" | entr -c -p hlint /_
6 +
  rg --type haskell --files | entr -c hlint -g
7 7
fi
8 8
9 9