servant/servant-server/test/Doctests.hs

19 lines
503 B
Haskell
Raw Normal View History

2015-05-03 01:27:48 +02:00
module Main where
2015-05-14 13:47:39 +02:00
import Data.List (isPrefixOf)
import System.Directory
import System.FilePath
2015-05-03 01:27:48 +02:00
import System.FilePath.Find
import Test.DocTest
main :: IO ()
main = do
files <- find always (extension ==? ".hs") "src"
doctest $ [ "-isrc"
, "-XOverloadedStrings"
, "-XFlexibleInstances"
, "-XMultiParamTypeClasses"
, "-XDataKinds"
, "-XTypeOperators"
] ++ files