From c9554b25d4ad99ceec1bef7bd60b1df82ef5ce8a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 12 Jan 2016 00:02:10 +0000 Subject: BBCode lexer --- bbcode/thermoprint-bbcode.cabal | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'bbcode/thermoprint-bbcode.cabal') diff --git a/bbcode/thermoprint-bbcode.cabal b/bbcode/thermoprint-bbcode.cabal index 537cfe7..ea00969 100644 --- a/bbcode/thermoprint-bbcode.cabal +++ b/bbcode/thermoprint-bbcode.cabal @@ -17,9 +17,26 @@ build-type: Simple cabal-version: >=1.10 library - -- exposed-modules: + exposed-modules: Text.BBCode + , Text.BBCode.Lexer -- other-modules: -- other-extensions: build-depends: base >=4.8 && <4.9 + , attoparsec >=0.13.0 && <1 + , text >=1.2.1 && <2 + , QuickCheck >=2.8.1 && <3 + , quickcheck-instances >=0.3.11 && <1 hs-source-dirs: src - default-language: Haskell2010 \ No newline at end of file + default-language: Haskell2010 + +Test-Suite tests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Spec.hs + ghc-options: -threaded -with-rtsopts=-N + build-depends: base >=4.8.1 && <5 + , thermoprint-bbcode -any + , hspec >=2.2.1 && <3 + , QuickCheck >=2.8.1 && <3 + , attoparsec >=0.13.0 && <1 + , text >=1.2.1 && <2 \ No newline at end of file -- cgit v1.2.3