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

10
test/doctest/Doctest.hs Normal file
View file

@ -0,0 +1,10 @@
-- | Rn the doctest executable
module Main where
import System.Process (callProcess)
doctest :: [String] -> IO ()
doctest = callProcess "doctest"
main :: IO ()
main = doctest ["--fast", "src"]