@hackage stack-templatizer0.1.0.1

Generate a stack template from a folder.

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 --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.

hpack template

Things I do after initing a simple-hpack template:

  • Add gitignore w/ cabal & stack-work
  • change exe to app/Main.hs
  • Add library section
  • set GHC options
  • lint stack.yaml & package.yaml
  • add LICENSE section to readme
  • add github section to package.yaml

LICENSE

BSD-3-Clause