X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=halcyon.cabal;h=ee35e16b52bbb6e339ba8a47f0810c975783517e;hp=a3c39bcff1507aaa7676745c9678c615240e69a8;hb=HEAD;hpb=e3864f89a0cae34d4d280efeb52ea5f761ddb44a diff --git a/halcyon.cabal b/halcyon.cabal index a3c39bc..ee35e16 100644 --- a/halcyon.cabal +++ b/halcyon.cabal @@ -20,18 +20,20 @@ executable halcyon base >= 4.6 && < 5, bytestring >= 0.10, cmdargs >= 0.10.5, + connection >= 0.2.1, configurator >= 0.2, directory >= 1.2, + filepath >= 1.3, + hdaemonize >= 0.4, http-client >= 0.3, http-client-tls >= 0.2, - HUnit == 1.2.*, MissingH >= 1.2, process >= 1.1, old-locale >= 1, - regex-compat == 0.*, tagsoup >= 0.13, text >= 1.1, time >= 1.4, + unix >= 2.6, -- Test deps tasty >= 0.8, tasty-hunit >= 0.3 @@ -53,6 +55,8 @@ executable halcyon Twitter.Http Twitter.Status Twitter.User + Unix + Usernames ghc-options: -Wall @@ -67,6 +71,8 @@ executable halcyon -fwarn-unused-do-bind -optc-O3 -optc-march=native + -O2 + test-suite testsuite type: exitcode-stdio-1.0 @@ -78,17 +84,20 @@ test-suite testsuite base >= 4.6 && < 5, bytestring >= 0.10, cmdargs >= 0.10.5, + connection >= 0.2.1, configurator >= 0.2, directory >= 1.2, + filepath >= 1.3, + hdaemonize >= 0.4, http-client >= 0.3, http-client-tls >= 0.2, MissingH >= 1.2, process >= 1.1, old-locale >= 1, - regex-compat == 0.*, tagsoup >= 0.13, text >= 1.1, time >= 1.4, + unix >= 2.6, -- Test deps tasty >= 0.8, tasty-hunit >= 0.3 @@ -107,6 +116,37 @@ test-suite testsuite -fwarn-unused-do-bind -optc-O3 -optc-march=native + -O2 + + +test-suite doctests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Doctests.hs + build-depends: + base >= 4.6 && < 5, + -- Additional test dependencies. + doctest >= 0.9, + filemanip >= 0.3 + + -- It's not entirely clear to me why I have to reproduce all of this. + ghc-options: + -Wall + -fwarn-hi-shadowing + -fwarn-missing-signatures + -fwarn-name-shadowing + -fwarn-orphans + -fwarn-type-defaults + -fwarn-tabs + -fwarn-incomplete-record-updates + -fwarn-monomorphism-restriction + -fwarn-unused-do-bind + -rtsopts + -threaded + -optc-O3 + -optc-march=native + -O2 + source-repository head type: git