]> gitweb.michael.orlitzky.com - dead/htsn.git/blob - htsn.cabal
Add the *.cabal file to the `make doc` dependencies.
[dead/htsn.git] / htsn.cabal
1 name: htsn
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 category: Utils
7 license: GPL-3
8 license-file: doc/LICENSE
9 build-type: Simple
10 extra-source-files:
11 doc/man1/htsn.1
12 synopsis:
13 Parse XML files from The Sports Network feed.
14 description:
15 The Sports Network <http://www.sportsnetwork.com/> offers an XML feed
16 containing various sports news and statistics. The goal of /htsn/
17 is to watch the XML feed and parse the individual XML documents into
18 files.
19 .
20 Once started, we will choose an XML feed host to connect to. The
21 choice is made from a list in a round-robin fashion, and by default,
22 the list contains all known TSN feed hosts. Once we have a connection,
23 your username and password are sent. If they are accepted, we begin to
24 parse the feed saving all XML files to the configured output directory.
25 .
26 If we encounter an error (say, the connection is dropped), then we
27 will attempt to connect to the next host in the list after waiting
28 five seconds. This process continues indefinitely.
29 .
30 The program can run either interactively (that is, outputting to the
31 console), or as a daemon.
32 .
33 /Full documentation can be found in the included man page./
34
35 executable htsn
36 build-depends:
37 ansi-terminal == 0.6.*,
38 base == 4.*,
39 cmdargs >= 0.10.6,
40 configurator == 0.2.*,
41 directory == 1.2.*,
42 filepath == 1.3.*,
43 hdaemonize == 0.4.*,
44 hslogger == 1.2.*,
45 hxt == 9.3.*,
46 MissingH == 1.2.*,
47 network == 2.4.*,
48 tasty == 0.5.*,
49 tasty-hunit == 0.4.*,
50 transformers == 0.3.*,
51 unix == 2.6.*
52
53 main-is:
54 Main.hs
55
56 hs-source-dirs:
57 src/
58
59 ghc-options:
60 -Wall
61 -fwarn-hi-shadowing
62 -fwarn-missing-signatures
63 -fwarn-name-shadowing
64 -fwarn-orphans
65 -fwarn-type-defaults
66 -fwarn-tabs
67 -fwarn-incomplete-record-updates
68 -fwarn-monomorphism-restriction
69 -fwarn-unused-do-bind
70 -rtsopts
71 -threaded
72 -optc-O3
73 -optc-march=native
74 -O2
75
76 ghc-prof-options:
77 -prof
78 -auto-all
79 -caf-all
80
81
82
83 test-suite testsuite
84 type: exitcode-stdio-1.0
85 hs-source-dirs: src test
86 main-is: TestSuite.hs
87 build-depends:
88 ansi-terminal == 0.6.*,
89 base == 4.*,
90 cmdargs >= 0.10.6,
91 configurator == 0.2.*,
92 directory == 1.2.*,
93 filepath == 1.3.*,
94 hdaemonize == 0.4.*,
95 hslogger == 1.2.*,
96 hxt == 9.3.*,
97 MissingH == 1.2.*,
98 network == 2.4.*,
99 tasty == 0.5.*,
100 tasty-hunit == 0.4.*,
101 transformers == 0.3.*,
102 unix == 2.6.*
103
104 -- It's not entirely clear to me why I have to reproduce all of this.
105 ghc-options:
106 -Wall
107 -fwarn-hi-shadowing
108 -fwarn-missing-signatures
109 -fwarn-name-shadowing
110 -fwarn-orphans
111 -fwarn-type-defaults
112 -fwarn-tabs
113 -fwarn-incomplete-record-updates
114 -fwarn-monomorphism-restriction
115 -fwarn-unused-do-bind
116 -rtsopts
117 -threaded
118 -optc-O3
119 -optc-march=native
120 -O2
121
122
123 source-repository head
124 type: git
125 location: http://michael.orlitzky.com/git/htsn.git
126 branch: master