| Copyright | © 2015-2017 Stack Builders |
|---|---|
| License | MIT |
| Maintainer | Justin Leitgeb <justin@stackbuilders.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
System.Hapistrano.Types
Description
Type definitions for the Hapistrano tool.
- type Hapistrano a = ExceptT Failure (ReaderT Config IO) a
- data Failure = Failure Int (Maybe String)
- data Config = Config {
- configSshOptions :: !(Maybe SshOptions)
- configPrint :: !(OutputDest -> String -> IO ())
- data Task = Task {}
- data ReleaseFormat
- data SshOptions = SshOptions {}
- data OutputDest
- data Release
- mkRelease :: ReleaseFormat -> UTCTime -> Release
- releaseTime :: Release -> UTCTime
- renderRelease :: Release -> String
- parseRelease :: String -> Maybe Release
Documentation
Hapistrano configuration options.
Constructors
| Config | |
Fields
| |
The records describes deployment task.
Constructors
| Task | |
Fields
| |
data ReleaseFormat Source #
Release format mode.
Constructors
| ReleaseShort | Standard release path following Capistrano's format |
| ReleaseLong | Long release path including picoseconds |
Release indentifier.