flake: Attempt to run doctests

Reviewed-by: Alexander Kobjolke <me@failco.de>
This commit is contained in:
Alexander Kobjolke 2023-08-24 00:00:31 +02:00
parent 64cdbc9bce
commit 8f76ec738e
6 changed files with 26 additions and 14 deletions

View file

@ -11,7 +11,6 @@ extra-source-files:
dependencies:
- base >= 4.13 && < 5
- text
# - bytestring
# - time
# - process
@ -29,6 +28,8 @@ default-extensions:
library:
source-dirs: src
dependencies:
- text
verbatim:
default-language: GHC2021
@ -46,13 +47,19 @@ tests:
cpp-options: -DTEST
main: Spec.hs
source-dirs:
- test
- test/spec
dependencies:
- hcat
- hspec
- QuickCheck
- quickcheck-instances
- quickcheck-text
# - quickcheck-instances
# - quickcheck-text
build-tools: hspec-discover
verbatim:
default-language: GHC2021
# doctest:
# main: Doctest.hs
# source-dirs:
# - test/doctest
# dependencies:
# - process