From 45858abc9c380abb3820534de9cb03919b4cee0a Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 7 Sep 2018 13:01:50 -0700 Subject: [PATCH] cli, ui, web: drop HUnit dependency --- hledger-ui/hledger-ui.cabal | 5 ++--- hledger-ui/package.yaml | 1 - hledger-web/hledger-web.cabal | 5 ++--- hledger-web/package.yaml | 1 - hledger/hledger.cabal | 6 +----- hledger/package.yaml | 1 - 6 files changed, 5 insertions(+), 14 deletions(-) diff --git a/hledger-ui/hledger-ui.cabal b/hledger-ui/hledger-ui.cabal index 1a8b15d20..fd8d94165 100644 --- a/hledger-ui/hledger-ui.cabal +++ b/hledger-ui/hledger-ui.cabal @@ -2,7 +2,7 @@ -- -- see: https://github.com/sol/hpack -- --- hash: 16e7ba806b0cc431b0c3737628ff623378d53a2a9540ecb7fa89d9b45713e6fb +-- hash: 88116009cafa64bb3351a332b88f9848d895f7bc4e614a8647f9c26c6405ba35 name: hledger-ui version: 1.10.99 @@ -65,8 +65,7 @@ executable hledger-ui ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans cpp-options: -DVERSION="1.10.99" build-depends: - HUnit - , ansi-terminal >=0.6.2.3 + ansi-terminal >=0.6.2.3 , async , base >=4.8 && <4.12 , base-compat-batteries >=0.10.1 && <0.11 diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index feba9d1cc..c3b125f63 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -52,7 +52,6 @@ dependencies: - directory - filepath - fsnotify >=0.2.1.2 && <0.4 -- HUnit - microlens >=0.4 - microlens-platform >=0.2.3.1 - megaparsec >=6.4.1 diff --git a/hledger-web/hledger-web.cabal b/hledger-web/hledger-web.cabal index fe7625de6..6100b055a 100644 --- a/hledger-web/hledger-web.cabal +++ b/hledger-web/hledger-web.cabal @@ -2,7 +2,7 @@ -- -- see: https://github.com/sol/hpack -- --- hash: aa549e1cadbc99bc121957427dc2801f175bc8269503971209b0d70bb1b2a53f +-- hash: b77366b5a138b9d5a3b4c4541bfb875642f06b621bd690712d022f53ab1afbf6 name: hledger-web version: 1.10.99 @@ -151,8 +151,7 @@ library ghc-options: -Wall -fwarn-tabs cpp-options: -DVERSION="1.10.99" build-depends: - HUnit - , base >=4.8 && <4.12 + base >=4.8 && <4.12 , blaze-html , blaze-markup , bytestring diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml index 071e30bbf..e8200ab86 100644 --- a/hledger-web/package.yaml +++ b/hledger-web/package.yaml @@ -127,7 +127,6 @@ library: - wai-handler-launch >=1.3 - warp - yaml - - HUnit # on mac Sierra or greater, ghc 7 will fail to build yesod; don't try when: - condition: os(darwin) && impl(ghc < 8.0) diff --git a/hledger/hledger.cabal b/hledger/hledger.cabal index 344d38030..eeecf9787 100644 --- a/hledger/hledger.cabal +++ b/hledger/hledger.cabal @@ -2,7 +2,7 @@ -- -- see: https://github.com/sol/hpack -- --- hash: 670748bbdefdd5950fbc676e79a7c3924edbe21ac333141915b5509e799fa071 +-- hash: 4c452bcbcd39691d37c6a2bef39b8ff256fb6ef1988ded63371560ae1cd87ca3 name: hledger version: 1.10.99 @@ -113,7 +113,6 @@ library build-depends: Decimal , Diff - , HUnit , ansi-terminal >=0.6.2.3 , base >=4.8 && <4.12 , base-compat-batteries >=0.10.1 && <0.11 @@ -165,7 +164,6 @@ executable hledger cpp-options: -DVERSION="1.10.99" build-depends: Decimal - , HUnit , ansi-terminal >=0.6.2.3 , base >=4.8 && <4.12 , base-compat-batteries >=0.10.1 && <0.11 @@ -219,7 +217,6 @@ test-suite test cpp-options: -DVERSION="1.10.99" build-depends: Decimal - , HUnit , ansi-terminal >=0.6.2.3 , base >=4.8 && <4.12 , base-compat-batteries >=0.10.1 && <0.11 @@ -272,7 +269,6 @@ benchmark bench ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path build-depends: Decimal - , HUnit , ansi-terminal >=0.6.2.3 , base >=4.8 && <4.12 , base-compat-batteries >=0.10.1 && <0.11 diff --git a/hledger/package.yaml b/hledger/package.yaml index 6061af095..aa6e5dfeb 100644 --- a/hledger/package.yaml +++ b/hledger/package.yaml @@ -93,7 +93,6 @@ dependencies: - filepath - haskeline >=0.6 - here -- HUnit - megaparsec >=6.4.1 - mtl - mtl-compat