X-Git-Url: http://gitweb.michael.orlitzky.com/?p=hath.git;a=blobdiff_plain;f=makefile;h=5d42778f0942b95ef9a0266ed324f43ba470eadb;hp=2061f444e91d607cb8ef8f8d5bb98c66422dd353;hb=7622c66d1bb0592ae6cd5b9c6092ff2e0490c4a1;hpb=a3726f89f2c7116a4e8329f8ecbe90b8ac5dc220 diff --git a/makefile b/makefile index 2061f44..5d42778 100644 --- 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 @@ -25,7 +25,7 @@ clean: $(TESTSUITE_BIN): src/*.hs test/TestSuite.hs - runghc Setup.hs configure --user --flags=${FLAGS} --enable-tests + runghc Setup.hs configure --user --enable-tests runghc Setup.hs build test: $(BIN) $(TESTSUITE_BIN) @@ -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