X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=dc1c3642e1ae0a40d8e28fdf4dc1ee13433fef7a;hb=dc30cf1f4ebee9f3d97e1e8fe27e2207140ea593;hp=7bbd4672c3c2f31012b099f5fdb2d76f279ea8d3;hpb=551cd4237e70d474ac00125644157f506c367ed5;p=spline3.git diff --git a/makefile b/makefile index 7bbd467..dc1c364 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ GHC_WARNINGS += -fwarn-type-defaults BIN := spline3 -.PHONY : test doc src_html +.PHONY : test doc src_html hlint $(BIN): src/*.hs ghc -O2 $(GHC_WARNINGS) --make -o bin/${BIN} src/*.hs @@ -47,3 +47,9 @@ doc: src_html --source-module="src/%{MODULE/.//}.html" \ --source-entity="src/%{MODULE/.//}.html#%{NAME}" \ src/*.hs src/Tests/*.hs + +hlint: + hlint --ignore="Use camelCase" \ + --ignore="Redundant bracket" \ + --color \ + src