summaryrefslogtreecommitdiff
path: root/opml-conduit.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'opml-conduit.cabal')
-rw-r--r--opml-conduit.cabal21
1 files changed, 19 insertions, 2 deletions
diff --git a/opml-conduit.cabal b/opml-conduit.cabal
index 502867d..9b6d67e 100644
--- a/opml-conduit.cabal
+++ b/opml-conduit.cabal
@@ -1,5 +1,5 @@
name: opml-conduit
-version: 0.6.0.3
+version: 0.6.0.4
synopsis: Streaming parser/renderer for the OPML 2.0 format.
description:
This library implements the OPML 2.0 standard (<http://dev.opml.org/spec2.html>) as a 'conduit' parser/renderer.
@@ -23,6 +23,11 @@ source-repository head
type: git
location: git://github.com/k0ral/opml-conduit.git
+flag enable-hlint-test
+ description: Enable hlint test-suite
+ manual: True
+ default: False
+
library
exposed-modules:
Text.OPML
@@ -64,7 +69,6 @@ test-suite tests
, conduit-combinators
, containers
, data-default
- , hlint
, lens-simple
, mono-traversable
, mtl
@@ -83,3 +87,16 @@ test-suite tests
, xml-conduit >= 1.3
default-language: Haskell2010
ghc-options: -Wall -fno-warn-orphans
+
+test-suite hlint
+ if flag(enable-hlint-test)
+ buildable: True
+ else
+ buildable: False
+ type: exitcode-stdio-1.0
+ main-is: HLint.hs
+ build-depends:
+ base >=4.8,
+ hlint -any
+ default-language: Haskell2010
+ hs-source-dirs: test