Copyright | (c) Ivan Lazar Miljenovic |
---|---|
License | MIT |
Maintainer | Ivan.Miljenovic@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
- data WrappedTool proxy
- data Valid bt
- defaultTools :: [WrappedTool Proxy]
- withTool :: IO res -> (GlobalEnv -> WrappedTool Valid -> IO res) -> [WrappedTool proxy] -> IO res
- chooseTool :: GlobalEnv -> [WrappedTool proxy] -> IO (Maybe (WrappedTool Valid))
- toolName :: WrappedTool proxy -> String
- infoProjectDir :: WrappedTool Valid -> ProjectRoot
- data GlobalEnv = GlobalEnv {}
- globalEnv :: IO GlobalEnv
- data Information = Information {}
- getInformation :: [WrappedTool proxy] -> IO Information
- prepare :: GlobalEnv -> WrappedTool Valid -> IO ExitCode
- targets :: GlobalEnv -> WrappedTool Valid -> IO [ProjectTarget]
- build :: Maybe ProjectTarget -> GlobalEnv -> WrappedTool Valid -> IO ExitCode
- repl :: Maybe ProjectTarget -> GlobalEnv -> WrappedTool Valid -> IO ExitCode
- clean :: GlobalEnv -> WrappedTool Valid -> IO ExitCode
- test :: GlobalEnv -> WrappedTool Valid -> IO ExitCode
- bench :: GlobalEnv -> WrappedTool Valid -> IO ExitCode
- exec :: String -> Args -> GlobalEnv -> WrappedTool Valid -> IO ExitCode
- run :: ProjectTarget -> Args -> GlobalEnv -> WrappedTool Valid -> IO ExitCode
- update :: GlobalEnv -> WrappedTool Valid -> IO ExitCode
Documentation
data WrappedTool proxy Source #
Eq (WrappedTool (Proxy *)) Source # | Not made polymorphic as there might be extra data contained within. |
Show (WrappedTool (Proxy *)) Source # | Not really a valid instance as it doesn't produce Haskell code. |
Show (WrappedTool ToolInformation) Source # | |
Show (WrappedTool Valid) Source # | |
ToJSON (WrappedTool ToolInformation) Source # | |
defaultTools :: [WrappedTool Proxy] Source #
withTool :: IO res -> (GlobalEnv -> WrappedTool Valid -> IO res) -> [WrappedTool proxy] -> IO res Source #
chooseTool :: GlobalEnv -> [WrappedTool proxy] -> IO (Maybe (WrappedTool Valid)) Source #
toolName :: WrappedTool proxy -> String Source #
System state/environment
Information/Diagnostics
data Information Source #
getInformation :: [WrappedTool proxy] -> IO Information Source #
Commands
targets :: GlobalEnv -> WrappedTool Valid -> IO [ProjectTarget] Source #
build :: Maybe ProjectTarget -> GlobalEnv -> WrappedTool Valid -> IO ExitCode Source #
repl :: Maybe ProjectTarget -> GlobalEnv -> WrappedTool Valid -> IO ExitCode Source #
run :: ProjectTarget -> Args -> GlobalEnv -> WrappedTool Valid -> IO ExitCode Source #