From c7faabefe2f193148ee2f4679e611f0025bfbd5b Mon Sep 17 00:00:00 2001 From: PHO Date: Thu, 13 Oct 2011 22:15:12 +0900 Subject: [PATCH] new variable: HLINT_OPTS --- cabal-package.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cabal-package.mk b/cabal-package.mk index e412139..b2bf655 100644 --- a/cabal-package.mk +++ b/cabal-package.mk @@ -18,6 +18,7 @@ HPC ?= hpc DITZ ?= ditz CONFIGURE_ARGS ?= --disable-optimization +HLINT_OPTS ?= --cross --report=dist/report.html SETUP_FILE := $(wildcard Setup.*hs) CABAL_FILE := $(wildcard *.cabal) @@ -117,7 +118,7 @@ fixme: || echo 'No FIXME or THINKME found.' lint: - $(HLINT) . --cross --report + $(HLINT) . $(HLINT_OPTS) push: push-repo push-ditz push-doc -- 2.40.0