flake: Attempt to run doctests
Reviewed-by: Alexander Kobjolke <me@failco.de>
This commit is contained in:
parent
64cdbc9bce
commit
8f76ec738e
6 changed files with 26 additions and 14 deletions
10
test/doctest/Doctest.hs
Normal file
10
test/doctest/Doctest.hs
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue