Makefile: added 'lint' target.
This commit is contained in:
parent
b1a9b567aa
commit
c00471ca0d
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue