X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=twat.cabal;h=12c978ede25872d620e2baa1db72a6681b77ecdb;hp=8a11081d0377b7edbf30d96386d524ed5475de08;hb=dd6cea3dc5e830691b1da442fcf91602e4cf94aa;hpb=9b6d95a82745ced2a58d9bc4ded555ee36b36673 diff --git a/twat.cabal b/twat.cabal index 8a11081..12c978e 100644 --- a/twat.cabal +++ b/twat.cabal @@ -3,6 +3,11 @@ version: 0.0 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky +license: GPL-3 +license-file: doc/LICENSE +homepage: http://michael.orlitzky.com/code/twat.php +bug-reports: mailto:michael@orlitzky.com +category: Math synopsis: Twat twats tweets so you don't have to twitter. build-type: Simple @@ -22,9 +27,12 @@ executable twat process == 1.*, old-locale == 1.*, regex-compat == 0.*, + tagsoup == 0.12.*, text == 0.11.*, - time == 1.* - + time == 1.*, + -- Test deps + test-framework == 0.8.*, + test-framework-hunit == 0.3.* main-is: Main.hs @@ -32,6 +40,17 @@ executable twat hs-source-dirs: src/ + other-modules: + CommandLine + Configuration + ExitCodes + Html + Mail + StringUtils + Twitter.Http + Twitter.Status + Twitter.User + ghc-options: -Wall -fwarn-hi-shadowing @@ -43,8 +62,50 @@ executable twat -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unused-do-bind - -funbox-strict-fields - -fexcess-precision - -fno-spec-constr-count -optc-O3 -optc-march=native + +test-suite testsuite + type: exitcode-stdio-1.0 + hs-source-dirs: src test + main-is: TestSuite.hs + build-depends: + aeson == 0.6.*, + authenticate-oauth == 1.4.*, + base == 4.*, + bytestring == 0.10.*, + conduit == 1.*, + directory == 1.2.*, + HaXml == 1.24.*, + http-conduit == 1.9.*, + HUnit == 1.2.*, + MissingH == 1.*, + process == 1.*, + old-locale == 1.*, + regex-compat == 0.*, + tagsoup == 0.12.*, + text == 0.11.*, + time == 1.*, + -- Test deps + test-framework == 0.8.*, + test-framework-hunit == 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 + -optc-O3 + -optc-march=native + +source-repository head + type: git + location: http://michael.orlitzky.com/git/twat.git + branch: master