X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=time-w3c.git;a=blobdiff_plain;f=time-w3c.cabal;h=55f63ac9dc95a5d4b84778331608d1c61233a5dc;hp=b8421729673dd77e3369e617e845f45971a05cf1;hb=4d1f3fc0f0050662a8c9150e0e5f039b72ada265;hpb=3d738487d6fb1077d139fd689279a1ebd27a9fdc diff --git a/time-w3c.cabal b/time-w3c.cabal index b842172..55f63ac 100644 --- a/time-w3c.cabal +++ b/time-w3c.cabal @@ -18,6 +18,14 @@ Build-type: Simple Cabal-version: >= 1.2.3 Extra-source-files: +Source-Repository head + Type: git + Location: git://git.cielonegro.org/time-w3c.git + +Flag build-test-suite + Description: Build the tst suite. + Default: False + Library Exposed-modules: Data.Time.W3C @@ -39,3 +47,29 @@ Library GHC-Options: -Wall + +Executable W3CDateTimeUnitTest + Main-Is: + W3CDateTimeUnitTest.hs + + if flag(build-test-suite) + Buildable: True + Build-Depends: HUnit >= 1.2 && < 2 + else + Buildable: False + + Hs-Source-Dirs: + ., tests + + Other-Modules: + ConversionTest + FormatterTest + ParsecParserTest + + Extensions: + DeriveDataTypeable + FlexibleContexts + MultiParamTypeClasses + + GHC-Options: + -Wall