From 6d91c0a10679392ca6589225ea645f0434c4c4c8 Mon Sep 17 00:00:00 2001 From: Peter Hajdu Date: Fri, 24 Apr 2020 17:51:28 +0200 Subject: [PATCH] fix coverage support --- bobek.cabal | 12 ++---------- readme.md | 8 ++++++++ todo | 2 -- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/bobek.cabal b/bobek.cabal index 9884798..42df799 100644 --- a/bobek.cabal +++ b/bobek.cabal @@ -63,16 +63,8 @@ test-suite test , containers , bytestring , text - other-modules: Bobek.Destination - Bobek.Filter - Bobek.Message - Bobek.ReceiveId - Bobek.ScriptFilter - Bobek.Source - Bobek.Mover - Bobek.Log - Bobek.Test.FakeEnvironment - hs-source-dirs: test lib + other-modules: Bobek.Test.FakeEnvironment + hs-source-dirs: test default-language: Haskell2010 default-extensions: DerivingStrategies, OverloadedStrings ghc-options: -Weverything diff --git a/readme.md b/readme.md index 8cd2cef..a9102e3 100644 --- a/readme.md +++ b/readme.md @@ -14,3 +14,11 @@ cabal new-install ormolu ``` bash make format ``` + +# coverage information + +``` bash +cabal clean +cabal new-configure --enable-test --enable-coverage +caba new-test +``` diff --git a/todo b/todo index a32484e..f8a7a68 100644 --- a/todo +++ b/todo @@ -1,6 +1,4 @@ - - split up to library and executable - hlint - - coverage - make sub probject Bobek - safe prelude - fix script filter protocol (length of message in first line, json?, base64)