git.iko.soy/typeable/pandoc
on master help sign in
Makefile: added 'lint' target.
commitc00471ca0d7a437ab25e0c425b88c48b1236801f authorJohn MacFarlane <jgm@berkeley.edu> dateThu 1 Jun 2017, 15:09 (9 years ago) parentb1a9b56
1 file changed+4−1
Makefile+4−1
Makefile+4−1
@@ -21,6 +21,9 @@ bench:
2121reformat:
2222 for f in $(sourcefiles); do echo $$f; stylish-haskell -i $$f ; done
2323
24+lint:
25+ for f in $(sourcefiles); do echo $$f; hlint --verbose --refactor --refactor-options='-i -s' $$f; done
26+
2427changes_github:
2528 pandoc --filter extract-changes.hs changelog -t markdown_github | sed -e 's/\\#/#/g' | pbcopy
2629
@@ -59,4 +62,4 @@ download_stats:
5962clean:
6063 stack clean
6164
62−.PHONY: deps quick full install clean test bench changes_github macospkg dist prof download_stats reformat
65+.PHONY: deps quick full install clean test bench changes_github macospkg dist prof download_stats reformat lint