summaryrefslogtreecommitdiff
path: root/krpc.cabal
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-05-14 12:01:47 +0400
committerSam T <pxqr.sta@gmail.com>2013-05-14 12:01:47 +0400
commitdca81a23bcec19ab7562322c2eb988b286afe944 (patch)
treec2354fabaf9dc27b70368a68020cb9cf9bc57b47 /krpc.cabal
parent50490ccb9ac98dc03a499972e693da8514779be6 (diff)
+ Add hunit tests.
Diffstat (limited to 'krpc.cabal')
-rw-r--r--krpc.cabal24
1 files changed, 17 insertions, 7 deletions
diff --git a/krpc.cabal b/krpc.cabal
index b9bd0f1a..bb3fdea6 100644
--- a/krpc.cabal
+++ b/krpc.cabal
@@ -42,18 +42,28 @@ library
42 42
43 43
44 44
45 45test-suite test-client
46executable exsample-client 46 type: exitcode-stdio-1.0
47 main-is: Client.hs 47 main-is: Client.hs
48 other-modules: Shared 48 other-modules: Shared
49 build-depends: base == 4.*, krpc, bytestring 49 build-depends: base == 4.*
50 hs-source-dirs: examples 50 , bytestring
51 , krpc
52
53 , HUnit
54 , test-framework
55 , test-framework-hunit
51 56
52executable exsample-server 57 hs-source-dirs: tests
58
59executable test-server
53 main-is: Server.hs 60 main-is: Server.hs
54 other-modules: Shared 61 other-modules: Shared
55 build-depends: base == 4.*, krpc, bytestring 62 build-depends: base == 4.*
56 hs-source-dirs: examples 63 , bytestring
64 , krpc
65
66 hs-source-dirs: tests
57 67
58 68
59 69