'check' command now supports cabal-dev.
This commit is contained in:
7
Check.hs
7
Check.hs
@@ -9,10 +9,15 @@ import GHC
|
||||
import Prelude hiding (catch)
|
||||
import Types
|
||||
|
||||
import CabalDev (modifyOptions)
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
checkSyntax :: Options -> String -> IO String
|
||||
checkSyntax opt file = unlines <$> check opt file
|
||||
--checkSyntax opt file = unlines <$> check opt file
|
||||
checkSyntax opt file = do
|
||||
opt' <- modifyOptions opt
|
||||
unlines <$> check opt' file
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user