summaryrefslogtreecommitdiff
path: root/bittorrent.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'bittorrent.cabal')
-rw-r--r--bittorrent.cabal21
1 files changed, 3 insertions, 18 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index 8ad50eca..c9eaaa47 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -29,10 +29,12 @@ source-repository head
29 type: git 29 type: git
30 location: git://github.com/pxqr/bittorrent.git 30 location: git://github.com/pxqr/bittorrent.git
31 31
32
32flag testing 33flag testing
33 description: Expose debug stuff in export declarations. 34 description: Expose debug stuff in export declarations.
34 default: False 35 default: False
35 36
37
36library 38library
37 exposed-modules: Data.Torrent 39 exposed-modules: Data.Torrent
38 , Data.Bitfield 40 , Data.Bitfield
@@ -138,24 +140,6 @@ executable example
138 140
139 141
140 142
141test-suite info-hash
142 type: exitcode-stdio-1.0
143 main-is: InfoHash.hs
144 hs-source-dirs: tests
145
146 build-depends: base
147 , bytestring
148 , containers
149 , bencoding
150 , bittorrent
151 , Diff
152
153 ghc-options: -Wall
154
155 if !flag(testing)
156 buildable: False
157
158
159test-suite properties 143test-suite properties
160 type: exitcode-stdio-1.0 144 type: exitcode-stdio-1.0
161 main-is: Main.hs 145 main-is: Main.hs
@@ -163,6 +147,7 @@ test-suite properties
163 build-depends: base == 4.* 147 build-depends: base == 4.*
164 , bytestring 148 , bytestring
165 , directory 149 , directory
150 , filepath
166 151
167 , cereal 152 , cereal
168 , network 153 , network