hapistrano-0.3.4.0: A deployment library for Haskell applications

Copyright© 2015-2017 Stack Builders
LicenseMIT
MaintainerJustin Leitgeb <justin@stackbuilders.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

System.Hapistrano.Types

Description

Type definitions for the Hapistrano tool.

Synopsis

Documentation

type Hapistrano a = ExceptT Failure (ReaderT Config IO) a Source #

Hapistrano monad.

data Failure Source #

Failure with status code and a message.

Constructors

Failure Int (Maybe String) 

data Config Source #

Hapistrano configuration options.

Constructors

Config 

Fields

data Task Source #

The records describes deployment task.

Constructors

Task 

Fields

Instances

Eq Task Source # 

Methods

(==) :: Task -> Task -> Bool #

(/=) :: Task -> Task -> Bool #

Ord Task Source # 

Methods

compare :: Task -> Task -> Ordering #

(<) :: Task -> Task -> Bool #

(<=) :: Task -> Task -> Bool #

(>) :: Task -> Task -> Bool #

(>=) :: Task -> Task -> Bool #

max :: Task -> Task -> Task #

min :: Task -> Task -> Task #

Show Task Source # 

Methods

showsPrec :: Int -> Task -> ShowS #

show :: Task -> String #

showList :: [Task] -> ShowS #

data ReleaseFormat Source #

Release format mode.

Constructors

ReleaseShort

Standard release path following Capistrano's format

ReleaseLong

Long release path including picoseconds

mkRelease :: ReleaseFormat -> UTCTime -> Release Source #

Create a Release indentifier.

releaseTime :: Release -> UTCTime Source #

Extract deployment time from Release.

renderRelease :: Release -> String Source #

Render Release indentifier as a String.

parseRelease :: String -> Maybe Release Source #

Parse Release identifier from a String.