Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • debug-partition-size
  • wta-generator
  • fixes
  • bench-hex
  • ci-artifacts
  • new-monoids
  • stack
  • sumbag
  • tutorial
  • web
  • features/disable-sanity
  • ghc-8.4.4
  • linux-bin-artifacts
  • syntax-doc
  • ci-stack
  • rationals
  • double-round
  • init-time
  • group-weight
20 results

Setup.hs

  • Hans-Peter Deifel's avatar
    867caaea
    Switch to custom Setup.hs file for cabal-doctests · 867caaea
    Hans-Peter Deifel authored
    doctest doesn't respect the `default-extensions` field from the cabal
    file, so we previously had to put every extension at the start of each
    and every file so that doctests would compile.
    
    Using the `cabal-doctest` package, we can pass the right options to
    `doctest` at build time and move extension declarations to the cabal
    file.
    867caaea
    History
    Switch to custom Setup.hs file for cabal-doctests
    Hans-Peter Deifel authored
    doctest doesn't respect the `default-extensions` field from the cabal
    file, so we previously had to put every extension at the start of each
    and every file so that doctests would compile.
    
    Using the `cabal-doctest` package, we can pass the right options to
    `doctest` at build time and move extension declarations to the cabal
    file.