hscaffold: Very simple file/directory structure scaffolding writer monad EDSL

[ development, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]
Versions [RSS] 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.3.0, 0.4.4.0, 0.4.5.0
Change log ChangeLog.md
Dependencies base (>=4.8 && <5), directory, exceptions, filepath, hscaffold, mtl, regex-compat, temporary, text, transformers, unix [details]
License MIT
Author Pedro Tacla Yamada
Maintainer tacla.yamada@gmail.com
Category Development
Home page https://github.com/yamadapc/hscaffold#readme
Bug tracker https://github.com/yamadapc/hscaffold/issues
Source repo head: git clone https://github.com/yamadapc/hscaffold
Uploaded by yamadapc at 2016-11-15T20:04:56Z
Distributions
Executables hsfiles-from-directory
Downloads 5692 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-16 [all 1 reports]

Readme for hscaffold-0.4.5.0

[back to package description]

hscaffold

Very simple file/directory structure scaffolding writer monad EDSL

runHscaffold "." $ do
    file "./.gitignore" (Text.unlines [ ".stack-work"
                                      , "stuff"
                                      , "here"
                                      ])
    directory "./src" $ do
        file "./Main.hs" "main = putStrLn \"Hello World\""
        file "./Other.hs" "other = putStrLn \"Hello You\""

License

MIT