X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=twat.cabal;h=2c58edcaadea266682d729691c34b6afed298171;hp=20abfbcc13195fc33eea5ab173a0ec46686a6ef4;hb=93577603f6df06e4627ca13a6f5fe412b28dc817;hpb=230072d26d55aed92737308aa04ce8a0daa0b71a diff --git a/twat.cabal b/twat.cabal index 20abfbc..2c58edc 100644 --- a/twat.cabal +++ b/twat.cabal @@ -3,22 +3,38 @@ 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. + Twat twats tweets so you don't have to Twitter. build-type: Simple executable twat build-depends: - base == 4.4.*, - curl == 1.3.*, - HaXml == 1.22.*, + aeson == 0.6.*, + authenticate-oauth == 1.4.*, + base == 4.*, + bytestring == 0.10.*, + cmdargs == 0.10.*, + conduit == 1.*, + configurator == 0.2.*, + directory == 1.2.*, + HaXml == 1.24.*, + http-conduit == 1.9.*, HUnit == 1.2.*, MissingH == 1.*, process == 1.*, old-locale == 1.*, regex-compat == 0.*, - time == 1.2.* - + tagsoup == 0.12.*, + text == 0.11.*, + time == 1.*, + -- Test deps + test-framework == 0.8.*, + test-framework-hunit == 0.3.* main-is: Main.hs @@ -26,6 +42,60 @@ executable twat hs-source-dirs: src/ + other-modules: + CommandLine + Configuration + ExitCodes + Html + Mail + OptionalConfiguration + StringUtils + Twitter.Http + Twitter.Status + Twitter.User + + 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 + +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.*, + cmdargs == 0.10.*, + conduit == 1.*, + configurator == 0.2.*, + 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 @@ -37,8 +107,10 @@ 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 + +source-repository head + type: git + location: http://michael.orlitzky.com/git/twat.git + branch: master