Generate a stack template from a folder.
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.
stack-templatizer
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.