summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bittorrent.cabal23
1 files changed, 13 insertions, 10 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index 8e8f3d22..fca04ef7 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -7,7 +7,7 @@ maintainer: Sam T. <pxqr.sta@gmail.com>
7copyright: (c) 2013, Sam T. 7copyright: (c) 2013, Sam T.
8category: Network 8category: Network
9build-type: Simple 9build-type: Simple
10cabal-version: >= 1.8 10cabal-version: >= 1.10
11tested-with: GHC == 7.4.1 11tested-with: GHC == 7.4.1
12 , GHC == 7.6.3 12 , GHC == 7.6.3
13homepage: https://github.com/pxqr/bittorrent 13homepage: https://github.com/pxqr/bittorrent
@@ -37,6 +37,10 @@ flag testing
37 37
38library 38library
39 default-language: Haskell2010 39 default-language: Haskell2010
40 default-extensions: PatternGuards
41 , OverloadedStrings
42 , RecordWildCards
43 hs-source-dirs: src
40 exposed-modules: Network.BitTorrent 44 exposed-modules: Network.BitTorrent
41 , Network.BitTorrent.Extension 45 , Network.BitTorrent.Extension
42 , Network.BitTorrent.Peer 46 , Network.BitTorrent.Peer
@@ -112,12 +116,6 @@ library
112 -- Misc 116 -- Misc
113 , pretty 117 , pretty
114 118
115-- , bits-atomic >= 0.1
116
117 extensions: PatternGuards
118 , OverloadedStrings
119 , RecordWildCards
120 hs-source-dirs: src
121 if flag(testing) 119 if flag(testing)
122 cpp-options: -DTESTING 120 cpp-options: -DTESTING
123 ghc-options: -Wall 121 ghc-options: -Wall
@@ -126,9 +124,11 @@ library
126 124
127 125
128test-suite properties 126test-suite properties
127 default-language: Haskell2010
128 default-extensions:
129 type: exitcode-stdio-1.0 129 type: exitcode-stdio-1.0
130 main-is: Main.hs
131 hs-source-dirs: tests 130 hs-source-dirs: tests
131 main-is: Main.hs
132 build-depends: base == 4.* 132 build-depends: base == 4.*
133 , bytestring 133 , bytestring
134 , directory 134 , directory
@@ -156,6 +156,8 @@ test-suite properties
156 156
157 157
158benchmark benchmarks 158benchmark benchmarks
159 default-language: Haskell2010
160 default-extensions:
159 type: exitcode-stdio-1.0 161 type: exitcode-stdio-1.0
160 main-is: Main.hs 162 main-is: Main.hs
161 hs-source-dirs: bench 163 hs-source-dirs: bench
@@ -177,13 +179,14 @@ benchmark benchmarks
177 179
178 180
179executable example 181executable example
182 default-language: Haskell2010
180 main-is: Main.hs 183 main-is: Main.hs
181 hs-source-dirs: examples 184 hs-source-dirs: examples
182 build-depends: base == 4.* 185 build-depends: base == 4.*
183 , bittorrent 186 , bittorrent
184 , mtl 187 , mtl
185 ghc-options: -prof 188 ghc-options:
186-- -threaded -eventlog
187 ghc-prof-options: -prof -rtsopts 189 ghc-prof-options: -prof -rtsopts
190-- -threaded -eventlog
188 if !flag(testing) 191 if !flag(testing)
189 buildable: False 192 buildable: False