diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-06-01 15:09:30 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-06-01 15:09:30 +0200 |
commit | c00471ca0d7a437ab25e0c425b88c48b1236801f (patch) | |
tree | 08b3f5a79fc51e3144d84c0e21b1d99f796b0d9a | |
parent | b1a9b567aac2b725669dacbc0fe524d0724dec35 (diff) | |
download | pandoc-c00471ca0d7a437ab25e0c425b88c48b1236801f.tar.gz |
Makefile: added 'lint' target.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -21,6 +21,9 @@ bench: reformat: for f in $(sourcefiles); do echo $$f; stylish-haskell -i $$f ; done +lint: + for f in $(sourcefiles); do echo $$f; hlint --verbose --refactor --refactor-options='-i -s' $$f; done + changes_github: pandoc --filter extract-changes.hs changelog -t markdown_github | sed -e 's/\\#/#/g' | pbcopy @@ -59,4 +62,4 @@ download_stats: clean: stack clean -.PHONY: deps quick full install clean test bench changes_github macospkg dist prof download_stats reformat +.PHONY: deps quick full install clean test bench changes_github macospkg dist prof download_stats reformat lint |