cabal-version: >= 1.8
author: Michael Orlitzky
maintainer: Michael Orlitzky <michael@orlitzky.com>
+license: GPL-3
+license-file: doc/LICENSE
+homepage: http://michael.orlitzky.com/code/twat.php
+bug-reports: mailto:michael@orlitzky.com
+category: Utils, Web
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:
+ aeson == 0.6.*,
+ authenticate-oauth == 1.4.*,
base == 4.*,
- curl == 1.3.*,
- HaXml == 1.22.*,
+ bytestring == 0.10.*,
+ cmdargs >= 0.10.5,
+ conduit == 1.*,
+ configurator == 0.2.*,
+ directory == 1.2.*,
+ http-conduit == 1.9.*,
HUnit == 1.2.*,
MissingH == 1.*,
process == 1.*,
old-locale == 1.*,
regex-compat == 0.*,
- time == 1.*
-
+ tagsoup == 0.12.*,
+ text == 0.11.*,
+ time == 1.*,
+ -- Test deps
+ test-framework == 0.8.*,
+ test-framework-hunit == 0.3.*
main-is:
Main.hs
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-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.*,
+ cmdargs >= 0.10.5,
+ conduit == 1.*,
+ configurator == 0.2.*,
+ directory == 1.2.*,
+ 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