doctest-driver-gen is a doctest's driver file generator. It lets you automatically generate driver file for doctest's cabal integration.
Versions of doctest available in this library: >= 0.7 && < 0.12 || >= 0.13 && < 0.25
{-# OPTIONS_GHC -F -pgmF doctest-driver-gen [-optF DOCTEST_OPTION]... #-}
Make your driver file with the content. There is an example:
{-# OPTIONS_GHC -F -pgmF doctest-driver-gen -optF src -optF app #-}
This package was motivated by doctest-discover. I want a simpler doctest's driver file generator.