X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=276c5123cf4c976f19c330bd0707390ee76b1c3f;hb=3c9316fed6fd100be9a5e1f8d72db6534fb163cd;hp=2d46895cc0c020349e2e9a5d55b2dcb6a330fc5b;hpb=909e781852e3566fcaa16e156437ebe5bfc89e02;p=hath.git diff --git a/makefile b/makefile index 2d46895..276c512 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ BIN = dist/build/hath/hath TESTSUITE_BIN = dist/build/testsuite/testsuite -.PHONY : test +.PHONY : test dist hlint $(BIN): src/*.hs runghc Setup.hs clean @@ -13,6 +13,13 @@ profile: src/*.hs runghc Setup.hs configure --user --enable-executable-profiling runghc Setup.hs build +doc: src/*.hs + runghc Setup.hs configure --user + runghc Setup.hs hscolour --executables + runghc Setup.hs haddock --internal \ + --executables \ + --hyperlink-source + clean: runghc Setup.hs clean @@ -27,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