mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Allow the arguments to override src.
This commit is contained in:
parent
3f47dfbdc0
commit
f67a2a1dc3
@ -8,7 +8,7 @@ import Test.DocTest
|
||||
main :: IO ()
|
||||
main = do
|
||||
args <- getArgs
|
||||
doctest (map ("-X" ++) extensions ++ args ++ ["-isrc", "src"])
|
||||
doctest (map ("-X" ++) extensions ++ args ++ "-isrc" : if null args then ["src"] else args)
|
||||
|
||||
extensions :: [String]
|
||||
extensions =
|
||||
|
Loading…
Reference in New Issue
Block a user