stack-templatizer: Generate a stack template from a folder.

[ bsd3, development, program ] [ Propose Tags ]

stack-templatizer is an application that generates a .hsfiles stack template from a folder of template files.

You can install the application using stack install stack-templatizer --resolver nightly or by cloning the repository and running stack install.

Then run stack-templatizer my-folder to turn all the files in my-folder into a my-folder.hsfiles stack template.

You can see an example folder & the generated hs-files in the hpack template repository.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bytestring (<1), directory (>=1 && <2), filepath (>=1 && <2) [details]
License BSD-3-Clause
Copyright 2020-2023 Pavan Rikhi
Author Pavan Rikhi
Maintainer pavan.rikhi@gmail.com
Category Development
Home page https://github.com/prikhi/stack-templatizer#readme
Bug tracker https://github.com/prikhi/stack-templatizer/issues
Source repo head: git clone https://github.com/prikhi/stack-templatizer
Uploaded by lysergia at 2023-05-07T20:25:41Z
Distributions LTSHaskell:0.1.1.0, NixOS:0.1.1.0, Stackage:0.1.1.0
Executables stack-templatizer
Downloads 967 total (22 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2023-05-07 [all 1 reports]

Readme for stack-templatizer-0.1.1.0

[back to package description]

stack-templatizer

stack-templatizer Build Status

Stack Templatizer is a small application that lets you generate stack template hsfiles from a folder.

Install or clone & build the project using stack:

# Install from Stack Nightly
stack install stack-templatizer --resolver nightly

# Or build and install from source
git clone https://github.com/prikhi/stack-templatizer
cd stack-templatizer
stack install

Once installed, you can run stack-templatizer my-template-folder to generate a my-template-folder.hsfiles stack template.

For an example repository that generates a stack template, see hpack-template.

LICENSE

BSD-3-Clause