Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type CardName = String
- type Source = FilePath
- type Destination = FilePath
- data Card = Card {}
- data Declaration
- newtype CardNameReference = CardNameReference CardName
- data CardFileReference = CardFileReference FilePath (Maybe CardNameReference)
- data CardReference
- data SparkFile = SparkFile {
- sparkFilePath :: Path Abs File
- sparkFileCards :: [Card]
Cards
type Destination = FilePath Source #
Declarations
data Declaration Source #
A declaration in a card
SparkOff CardReference | Spark off another card |
Deploy Source Destination (Maybe DeploymentKind) | Deploy from source to destination |
IntoDir Directory | Deploy into a directory |
OutofDir Directory | Deploy outof a directory |
DeployKindOverride DeploymentKind | Override the deployment kind |
Alternatives [Directory] | Provide a list of alternative sources |
Block [Declaration] | A scoped block of declarations |
Card references
newtype CardNameReference Source #
Reference a card by name (inside a file)
data CardFileReference Source #
Reference a card by the file it is in and therein potentially by a name reference
data CardReference Source #
Union card reference