Safe Haskell | None |
---|---|
Language | Haskell2010 |
Source files for Generator
s.
Since: 0.5.62
Documentation
data ArtifactSource Source #
Describe how input files for artifacts to build are obtained. The general structure of each constructor is FromXXX destination source
FromFile FilePath SourceFile | Copy a |
FromContent FilePath Content | Create a file from some |
SetPermissions Int Int Int [ArtifactSource] | Set the unix file permissions to all files generated
by the nested list of |
FromDirectory FilePath [ArtifactSource] | Assume a local directory as starting point for all
relative source files in the nested |
IntoDirectory FilePath [ArtifactSource] | Specify an output directory for all the files
generated by the nested |
Instances
getArtifactSourceFiles :: ArtifactSource -> [FilePath] Source #
Return all source files generated by an ArtifactSource
.