commercialhaskell / commercialhaskell/stack

Share boilerplate amongst stack templates

Open
#1,994 2 comments 0 reactions 0 assignees View on GitHub
awaiting pull request component: init / new type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

From [here](https://github.com/commercialhaskell/stack-templates/pull/52#issuecomment-204639039):

> Is there a way to compose templates? So this template & my template could reuse the Test file instead of having to duplicate the code?

There is not. I have thought about it some. Feel free to open an issue about it. I really don't want an overly complicated template system, though. This stuff should be a simple mechanism for getting things started, not something heavy-weight / intimidating.

It would be nice to have stack templates provide stuff like `.gitignore`, a few choices of LICENSE, `.travis.yml`, `README.md`, `CHANGELOG.md`, etc. I suppose template-info could specify a template to inherit from that would provide such files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.