-
Notifications
You must be signed in to change notification settings - Fork 1
/
doc-review.cabal
112 lines (102 loc) · 2.8 KB
/
doc-review.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Name: doc-review
Version: 0.7.1
Synopsis: Document review Web application, like http://book.realworldhaskell.org/
Description: A standalone Web application that provides for
paragraph-by-paragraph commentary by document reviewers,
based on the user interface from
<http://book.realworldhaskell.org/>. Any Web page can be
configured to work with the service by adding just a
little bit of Javascript that makes it load the comment
Web UI. See the README or the homepage for more information.
Author: Josh Hoyt
Maintainer: [email protected]
Stability: Experimental
Category: Web
Build-type: Simple
Cabal-version: >=1.6
License: BSD3
License-File: LICENSE
Tested-with: GHC == 6.12.3
Homepage: https://github.com/j3h/doc-review
data-files:
static/*.css,
static/support/javascript/*.js,
static/support/icons/*.gif
extra-source-files:
CHANGES.rst,
README.rst,
API.rst,
TODO.rst
Flag test
Description: Build the test executable (tests the store implementations)
Manual: True
Default: False
Executable doc-review
hs-source-dirs: src
main-is: Main.hs
other-modules:
Analyze,
Config,
Config.Types,
Config.Format,
Config.Store,
Config.Command.Run,
Config.Command.Scan,
Config.Command.Report,
Config.GetOpt,
Feed,
Privilege,
Report,
Server,
State.Disk,
State.Logger,
State.Mem,
State.SQLite,
State.Types,
DocReview.App,
DocReview.App.HTML,
DocReview.Scan
Build-depends:
base >= 4 && < 5,
base64-bytestring == 0.1.*,
binary == 0.5.*,
bytestring >= 0.9.1 && <0.10,
containers < 0.5,
directory < 1.2,
feed == 0.3.*,
filepath >= 1.1 && <1.3,
haskell98,
heist >= 0.2.2 && <0.3,
hexpat >= 0.18.2 && <0.20,
json == 0.4.*,
MonadCatchIO-transformers,
MonadRandom == 0.1.*,
monads-fd >= 0.1 && <0.2,
network == 2.2.*,
old-locale == 1.0.*,
snap-core >= 0.2 && <0.3,
snap-server >= 0.2 && <0.3,
sqlite == 0.5.*,
tagchup == 0.4.*,
text >= 0.7 && < 0.11,
time == 1.1.*,
transformers == 0.2.*,
unix < 2.5,
xhtml-combinators < 0.3,
xml == 1.3.*,
xml-basic == 0.1.*
if impl(ghc >= 6.12.0)
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
-fno-warn-unused-do-bind
else
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
Executable doc-review-test
HS-Source-Dirs: test, src
Main-is: Main.hs
ghc-options: -Wall
if flag(test)
Build-Depends: MonadRandom < 0.2,
array < 0.4,
text >= 0.7 && < 0.11
else
Buildable: False