BIN = dist/build/hath/hath
TESTSUITE_BIN = dist/build/testsuite/testsuite
-.PHONY : test
+.PHONY : test dist hlint
$(BIN): src/*.hs
runghc Setup.hs 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)
dist:
runghc Setup.hs configure
runghc Setup.hs sdist
+
+hlint:
+ hlint --ignore="Use camelCase" \
+ --ignore="Redundant bracket" \
+ --color \
+ src