mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 05:43:51 -07:00
Run tests as doctests
This commit is contained in:
parent
f0a2e688c4
commit
259b1a5dc6
12 changed files with 1691 additions and 1531 deletions
12
test/doctests.hs
Normal file
12
test/doctests.hs
Normal file
|
@ -0,0 +1,12 @@
|
|||
module Main where
|
||||
|
||||
import Build_doctests (flags, pkgs, module_sources)
|
||||
import Data.Foldable (traverse_)
|
||||
import Test.DocTest (doctest)
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
traverse_ putStrLn args
|
||||
doctest args
|
||||
where
|
||||
args = flags ++ pkgs ++ module_sources
|
Loading…
Add table
Add a link
Reference in a new issue