ci: Fix hlint CodeClimate output

This commit is contained in:
Alexander Kobjolke 2023-01-05 13:41:18 +00:00
parent 59eb3b502e
commit 8b4754e9ad
2 changed files with 3 additions and 3 deletions

View file

@ -20,8 +20,8 @@ $(BUILDDIR)/bin/annotator: app/Main.hs src/*.hs
watch:
@git ls-files src app Makefile | entr make -s build install
lint:
@-hlint -g --cc > $(BUILDDIR)/ci/hlint.report.json
lint: builddir
hlint lint --git --cc --no-exit-code | tr -d '\0' | jq -s . > $(BUILDDIR)/ci/hlint.report.json
clean:
@rm -rf $(BUILDDIR)