module Main (main) where

import Protolude

import Test.DocTest

main :: IO ()
main = doctest $ ["-isrc"] <> options <> files
  where
    options = map ("-X" <>) extensions
    -- These must match the extensions in package.yaml.
    extensions = [ "NoImplicitPrelude"
                 , "OverloadedStrings"
                 , "RecordWildCards"
                 , "TypeApplications"
                 , "DataKinds"
                 ]
    -- library code and examples
    files = [ "src/"
            , "examples/"
            ]

module Main (main) where

import Protolude

import Test.DocTest

main :: IO ()
main = doctest $ ["-isrc"] <> options <> files
  where
    options = map ("-X" <>) extensions
    -- These must match the extensions in package.yaml.
    extensions = [ "NoImplicitPrelude"
                 , "OverloadedStrings"
                 , "RecordWildCards"
                 , "TypeApplications"
                 , "DataKinds"
                 ]
    -- library code and examples
    files = [ "src/"
            , "tests/Examples/"
            ]

Use real directory over symlink.
Use real directory over symlink.
