doctest-driver-gen-0.3.0.2: Generate driver file for doctest's cabal integration

Copyright(c) 2017 Hexirp
LicenseBSD 3-clause "New" or "Revised" License
Maintainerhttps://github.com/Hexirp/doctest-driver-gen/issues
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Test.DocTest.Gen

Description

Provide doctest-driver-gen's functions.

Synopsis

Documentation

ddgen :: [String] -> IO () Source #

Run doctest-driver-gen with given list of arguments.

ddgen_run Source #

Arguments

:: String

Name of the original source file.

-> String

Name of the file holding the input.

-> String

Name of the file where this should write its output to.

-> [String]

Options for doctest.

-> IO () 

Run doctest-driver-gen with correct arguments.

ddgen_output :: String -> [String] -> IO () Source #

Output driver file.

ddgen_usage :: IO () Source #

Print doctest-driver-gen's usage.