commercialhaskell / commercialhaskell/stack
Share boilerplate amongst stack templates
- 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
Assessment
This issue has not been assessed yet.