aboutsummaryrefslogtreecommitdiff
path: root/mock/tomsg-mock.cabal
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-11-02 00:00:23 +0100
committerTom Smeding <tom@tomsmeding.com>2021-02-28 11:43:39 +0100
commite7133882fe69d8f718cbaf910a22512153db11ee (patch)
tree396cf6a3bf79e212ee08c709be4c8ce510b6fb33 /mock/tomsg-mock.cabal
parent6aebd10ba045085ed1d0ca7c0ffbf69196c3308c (diff)
mock: Start writing a mock server implementation
This is intended to be used for property testing later. Doing this in Haskell should make it easy enough that maintaining a double implementation is not _too_ bad.
Diffstat (limited to 'mock/tomsg-mock.cabal')
-rw-r--r--mock/tomsg-mock.cabal20
1 files changed, 20 insertions, 0 deletions
diff --git a/mock/tomsg-mock.cabal b/mock/tomsg-mock.cabal
new file mode 100644
index 0000000..8a5efe5
--- /dev/null
+++ b/mock/tomsg-mock.cabal
@@ -0,0 +1,20 @@
+cabal-version: >=1.10
+name: tomsg-mock
+synopsis: Mock server implementation for tomsg
+version: 0.1.0.0
+license: MIT
+author: Tom Smeding
+maintainer: tom.smeding@gmail.com
+build-type: Simple
+
+executable tomsg-mock
+ main-is: Main.hs
+ other-modules: Types, Server
+ build-depends: base >= 4.13 && < 4.15,
+ containers >= 0.6.4 && < 0.7,
+ monad-loops >= 0.4.3 && < 0.5,
+ stm >= 2.5 && < 2.6,
+ random >= 1.2 && < 1.3
+ hs-source-dirs: .
+ default-language: Haskell2010
+ ghc-options: -Wall -O2 -threaded