mirror of
https://github.com/github/semantic.git
synced 2024-12-30 18:36:27 +03:00
28 lines
519 B
Haskell
28 lines
519 B
Haskell
module Main
|
|
( main
|
|
) where
|
|
|
|
import System.Environment
|
|
import Test.DocTest
|
|
|
|
main :: IO ()
|
|
main = do
|
|
args <- getArgs
|
|
doctest (map ("-X" ++) extensions ++ "-isrc" : "--fast" : if null args then ["src"] else args)
|
|
|
|
extensions :: [String]
|
|
extensions =
|
|
[ "DataKinds"
|
|
, "DeriveFoldable"
|
|
, "DeriveFunctor"
|
|
, "DeriveGeneric"
|
|
, "DeriveTraversable"
|
|
, "FlexibleContexts"
|
|
, "FlexibleInstances"
|
|
, "MultiParamTypeClasses"
|
|
, "OverloadedStrings"
|
|
, "RecordWildCards"
|
|
, "StandaloneDeriving"
|
|
, "StrictData"
|
|
]
|