Recommend doing make check pre-commit

This commit is contained in:
steve-chavez
2019-09-30 08:46:31 -05:00
committed by Steve Chávez
parent 75a42b77ea
commit eebe319bfd
3 changed files with 11 additions and 13 deletions
+2 -2
View File
@@ -109,10 +109,10 @@ jobs:
test/io-tests.sh
- run:
name: run linter
command: git ls-files | grep '\.l\?hs$' | xargs stack exec -- hlint -X QuasiQuotes -X NoPatternSynonyms "$@"
command: make lint
- run:
name: run styler
command: git ls-files | grep '\.l\?hs$' | xargs stack exec -- stylish-haskell -i && git diff-index --exit-code HEAD -- '*.hs' '*.lhs'
command: make style
build-test-9.6:
docker: