]> gitweb.michael.orlitzky.com - hath.git/blobdiff - makefile
Add hlint makefile target.
[hath.git] / makefile
index 2061f444e91d607cb8ef8f8d5bb98c66422dd353..276c5123cf4c976f19c330bd0707390ee76b1c3f 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
 BIN           = dist/build/hath/hath
 TESTSUITE_BIN = dist/build/testsuite/testsuite
 
-.PHONY : test dist
+.PHONY : test dist hlint
 
 $(BIN): src/*.hs
        runghc Setup.hs clean
@@ -34,3 +34,9 @@ test: $(BIN) $(TESTSUITE_BIN)
 dist:
        runghc Setup.hs configure
        runghc Setup.hs sdist
+
+hlint:
+       hlint --ignore="Use camelCase"     \
+             --ignore="Redundant bracket" \
+             --color                      \
+             src