mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
lib, cli: disable hledger-lib test suites, hledger benchmark suite
by default. hledger-lib's doctests and easytests test suites (each ?) require an additional slow rebuild of hledger-lib and are not worth the time, energy and carbon. hledger's test suite runs those same easytest tests (but not the doctests).
This commit is contained in:
parent
180f4baedb
commit
977d4f009e
@ -4,7 +4,7 @@ cabal-version: 1.12
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: 5800a813057af070936e23a2a043e79ba8d5eadb30d8d9d8953b87b0599c4d23
|
||||
-- hash: 1a86e1ea033680b16a056d843fda4101e7e6c06babcc6118bffb79e0042d17a7
|
||||
|
||||
name: hledger-lib
|
||||
version: 1.15.99
|
||||
@ -247,6 +247,7 @@ test-suite doctests
|
||||
, transformers >=0.2
|
||||
, uglymemo
|
||||
, utf8-string >=0.3.5
|
||||
buildable: False
|
||||
if (!impl(ghc >= 8.0))
|
||||
build-depends:
|
||||
semigroups ==0.18.*
|
||||
@ -353,6 +354,7 @@ test-suite easytests
|
||||
, transformers >=0.2
|
||||
, uglymemo
|
||||
, utf8-string >=0.3.5
|
||||
buildable: False
|
||||
if (!impl(ghc >= 8.0))
|
||||
build-depends:
|
||||
semigroups ==0.18.*
|
||||
|
@ -156,7 +156,11 @@ library:
|
||||
|
||||
tests:
|
||||
|
||||
# 201909: disabled these by default. They (each ?) require a slow rebuild
|
||||
# of hledger-lib and are not worth the time, energy and carbon.
|
||||
|
||||
doctests:
|
||||
buildable: false
|
||||
source-dirs: test
|
||||
main: doctests.hs
|
||||
dependencies:
|
||||
@ -185,6 +189,7 @@ tests:
|
||||
|
||||
|
||||
easytests:
|
||||
buildable: false
|
||||
source-dirs: test
|
||||
main: easytests.hs
|
||||
dependencies:
|
||||
|
@ -4,7 +4,7 @@ cabal-version: 1.12
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: b864d03deb10457bee840db359d886fab19a33d56e673afa900265f845d17618
|
||||
-- hash: bd203b8004a809390f7eb686721bee2a5d48e606a0aa25a873aaf2e133aada80
|
||||
|
||||
name: hledger
|
||||
version: 1.15.99
|
||||
@ -344,6 +344,7 @@ benchmark bench
|
||||
, utf8-string >=0.3.5
|
||||
, utility-ht >=0.0.13
|
||||
, wizards >=1.0
|
||||
buildable: False
|
||||
if (!(os(windows))) && (flag(terminfo))
|
||||
build-depends:
|
||||
terminfo
|
||||
|
@ -214,6 +214,7 @@ tests:
|
||||
|
||||
benchmarks:
|
||||
bench:
|
||||
buildable: false
|
||||
source-dirs: bench
|
||||
main: bench.hs
|
||||
dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user