From e7133882fe69d8f718cbaf910a22512153db11ee Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 2 Nov 2020 00:00:23 +0100 Subject: 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. --- mock/tomsg-mock.cabal | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mock/tomsg-mock.cabal (limited to 'mock/tomsg-mock.cabal') 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 -- cgit v1.2.3-54-g00ecf