]> gitweb.michael.orlitzky.com - dead/lwn-epub.git/blob - lwn-epub.cabal
Implement image download and replacement.
[dead/lwn-epub.git] / lwn-epub.cabal
1 name: lwn-epub
2 version: 0.0
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 synopsis:
7 Convert issues of LWN (lwn.net) to EPUB format.
8 build-type: Simple
9
10 executable lwn-epub
11 build-depends:
12 base == 4.5.*,
13 bytestring == 0.9.*,
14 cmdargs == 0.9.*,
15 containers == 0.*,
16 curl == 1.*,
17 directory == 1.1.*,
18 download-curl == 0.1.*,
19 filepath == 1.3.*,
20 HandsomeSoup == 0.3.*,
21 HUnit == 1.2.*,
22 hxt == 9.*,
23 MissingH == 1.1.*,
24 network == 2.3.*,
25 pandoc == 1.9.*,
26 regex-posix == 0.95.*,
27 temporary == 1.*,
28 test-framework == 0.6.*,
29 test-framework-hunit == 0.2.*,
30 time == 1.*,
31 utf8-string == 0.3.*
32
33 main-is:
34 Main.hs
35
36 hs-source-dirs:
37 src/
38
39 ghc-options:
40 -Wall
41 -fwarn-hi-shadowing
42 -fwarn-missing-signatures
43 -fwarn-name-shadowing
44 -fwarn-orphans
45 -fwarn-type-defaults
46 -fwarn-tabs
47 -fwarn-incomplete-record-updates
48 -fwarn-monomorphism-restriction
49 -fwarn-unused-do-bind
50 -funbox-strict-fields
51 -fexcess-precision
52 -fno-spec-constr-count
53 -rtsopts
54 -threaded
55 -O2
56 -optc-O3
57 -optc-march=native