haskell-cmake-improvements: exclude haskell files from bashism checker
@@ -15,7 +15,7 @@ find -version > /dev/null 2>&1 > /dev/null && FIND='find scripts -regextype egre
# The script `check-env-dep` uses process substitution which is **not** a standard `sh` feature!
# See also: https://unix.stackexchange.com/questions/151925
scripts=$($FIND -type f -not -regex \
- '.+(check-env-dep|gitignore|kdb_zsh_completion|run_dev_env|sed|(Docker|Jenkins|Vagrant)file.*|\.(cmake|fish|in|md|txt))$' | \
+ '.+(check-env-dep|gitignore|kdb_zsh_completion|run_dev_env|sed|(Docker|Jenkins|Vagrant)file.*|\.(cmake|fish|in|md|txt|hs))$' | \
xargs)
exit_if_fail 'Unable to locate shell scripts via `find`'
checkbashisms $scripts
