git.iko.soy/typeable/servant
on servant-client-0.16.0.1 help sign in
27 lines 890 B history raw
1-----------------------------------------------------------------------------
2-- |
3-- Module : Main (doctests)
4-- Copyright : (C) 2012-14 Edward Kmett
5-- License : BSD-style (see the file LICENSE)
6-- Maintainer : Edward Kmett <ekmett@gmail.com>
7-- Stability : provisional
8-- Portability : portable
9--
10-- This module provides doctests for a project based on the actual versions
11-- of the packages it was built with. It requires a corresponding Setup.lhs
12-- to be added to the project
13-----------------------------------------------------------------------------
14module Main where
16import Build_doctests
17 (flags, module_sources, pkgs)
18import Data.Foldable
19 (traverse_)
20import Test.DocTest
22main :: IO ()
23main = do
24 traverse_ putStrLn args
25 doctest args
26 where
27 args = flags ++ pkgs ++ module_sources