summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--krpc.cabal37
1 files changed, 20 insertions, 17 deletions
diff --git a/krpc.cabal b/krpc.cabal
index 45b3346a..ab8d8f77 100644
--- a/krpc.cabal
+++ b/krpc.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/cobit/krpc 13homepage: https://github.com/cobit/krpc
@@ -30,10 +30,12 @@ source-repository head
30 30
31 31
32library 32library
33 default-language: Haskell2010
34 default-extensions: PatternGuards
35 hs-source-dirs: src
33 exposed-modules: Remote.KRPC 36 exposed-modules: Remote.KRPC
34 , Remote.KRPC.Protocol 37 , Remote.KRPC.Protocol
35 , Remote.KRPC.Scheme 38 , Remote.KRPC.Scheme
36
37 build-depends: base == 4.* 39 build-depends: base == 4.*
38 40
39 , lifted-base >= 0.1.1 41 , lifted-base >= 0.1.1
@@ -42,18 +44,16 @@ library
42 44
43 , bytestring >= 0.10 45 , bytestring >= 0.10
44 , containers >= 0.4 46 , containers >= 0.4
45 , bencoding >= 0.1 47 , bencoding >= 0.2
46 48
47 , network >= 2.3 49 , network >= 2.3
48
49 hs-source-dirs: src
50 extensions: PatternGuards
51 ghc-options: -Wall 50 ghc-options: -Wall
52 51
53 52
54
55test-suite test-client 53test-suite test-client
56 type: exitcode-stdio-1.0 54 type: exitcode-stdio-1.0
55 default-language: Haskell2010
56 hs-source-dirs: tests
57 main-is: Client.hs 57 main-is: Client.hs
58 other-modules: Shared 58 other-modules: Shared
59 build-depends: base == 4.* 59 build-depends: base == 4.*
@@ -69,9 +69,10 @@ test-suite test-client
69 , test-framework 69 , test-framework
70 , test-framework-hunit 70 , test-framework-hunit
71 71
72 hs-source-dirs: tests
73 72
74executable test-server 73executable test-server
74 default-language: Haskell2010
75 hs-source-dirs: tests
75 main-is: Server.hs 76 main-is: Server.hs
76 other-modules: Shared 77 other-modules: Shared
77 build-depends: base == 4.* 78 build-depends: base == 4.*
@@ -79,20 +80,22 @@ executable test-server
79 , bencoding 80 , bencoding
80 , krpc 81 , krpc
81 82
82 hs-source-dirs: tests
83
84
85
86
87executable bench-server 83executable bench-server
88 main-is: Server.hs 84 default-language: Haskell2010
89 build-depends: base == 4.*, krpc, bytestring
90 hs-source-dirs: bench 85 hs-source-dirs: bench
86 main-is: Server.hs
87 build-depends: base == 4.*
88 , bytestring
89 , krpc
91 ghc-options: -fforce-recomp 90 ghc-options: -fforce-recomp
92 91
93benchmark bench-client 92benchmark bench-client
94 type: exitcode-stdio-1.0 93 type: exitcode-stdio-1.0
95 main-is: Main.hs 94 default-language: Haskell2010
96 hs-source-dirs: bench 95 hs-source-dirs: bench
97 build-depends: base == 4.*, krpc, criterion, bytestring 96 main-is: Main.hs
97 build-depends: base == 4.*
98 , bytestring
99 , criterion
100 , krpc
98 ghc-options: -O2 -fforce-recomp \ No newline at end of file 101 ghc-options: -O2 -fforce-recomp \ No newline at end of file