summaryrefslogtreecommitdiff
path: root/krpc.cabal
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-05-12 07:17:15 +0400
committerSam T <pxqr.sta@gmail.com>2013-05-12 07:17:15 +0400
commiteff48f66c6d8e7231eef0ef3c3561e19865a2637 (patch)
tree151c2473d34958d0e7964f2bc905e517b90b1ce1 /krpc.cabal
parent5ee611585e4eb6acb89b34e6679d89e25098e23b (diff)
+ Add basic bench.
Diffstat (limited to 'krpc.cabal')
-rw-r--r--krpc.cabal36
1 files changed, 25 insertions, 11 deletions
diff --git a/krpc.cabal b/krpc.cabal
index 0c63711f..97c903b9 100644
--- a/krpc.cabal
+++ b/krpc.cabal
@@ -13,6 +13,11 @@ bug-reports: https://github.com/pxqr/krpc/issues
13synopsis: KRPC remote procedure call protocol implementation. 13synopsis: KRPC remote procedure call protocol implementation.
14description: KRPC remote procedure call protocol implementation. 14description: KRPC remote procedure call protocol implementation.
15 15
16source-repository head
17 type: git
18 location: https://github.com/pxqr/krpc.git
19
20
16 21
17library 22library
18 exposed-modules: Remote.KRPC 23 exposed-modules: Remote.KRPC
@@ -38,22 +43,31 @@ library
38 43
39 44
40 45
41executable echo-client 46
47executable exsample-client
42 main-is: Client.hs 48 main-is: Client.hs
43 other-modules: Shared 49 other-modules: Shared
44 50 build-depends: base == 4.*, krpc
45 build-depends: base == 4.*
46 , krpc
47
48 hs-source-dirs: examples 51 hs-source-dirs: examples
49 52
50 53executable exsample-server
51
52executable echo-server
53 main-is: Server.hs 54 main-is: Server.hs
54 other-modules: Shared 55 other-modules: Shared
56 build-depends: base == 4.*, krpc
57 hs-source-dirs: examples
55 58
56 build-depends: base == 4.*
57 , krpc
58 59
59 hs-source-dirs: examples 60
61
62executable bench-server
63 main-is: Server.hs
64 build-depends: base == 4.*, krpc
65 hs-source-dirs: bench
66 ghc-options: -O2
67
68benchmark bench-client
69 type: exitcode-stdio-1.0
70 main-is: Main.hs
71 hs-source-dirs: bench
72 build-depends: base == 4.5.*, krpc, criterion
73 ghc-options: -O2 \ No newline at end of file