Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- validateSpecAutoReload :: Severity -> FilePath -> [SpecMetaArgsOpt] -> LiveMode -> IO ExitCode
- validateSpec :: (MonadIO m, MonadThrow m) => Severity -> Maybe InterpreterInstance -> SpecCache -> FilePath -> [SpecMetaArgsOpt] -> m ([ValidationError], Maybe InterpreterInstance)
- renderValidationError :: ValidationError -> IO ()
Documentation
validateSpecAutoReload :: Severity -> FilePath -> [SpecMetaArgsOpt] -> LiveMode -> IO ExitCode #
Wait for a spec file or a Haskell file to change and reload validation.
validateSpec :: (MonadIO m, MonadThrow m) => Severity -> Maybe InterpreterInstance -> SpecCache -> FilePath -> [SpecMetaArgsOpt] -> m ([ValidationError], Maybe InterpreterInstance) #
renderValidationError :: ValidationError -> IO () #