Stack: Share boilerplate amongst stack templates

Created on 4 Apr 2016  路  2Comments  路  Source: commercialhaskell/stack

From here:

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.

awaiting pull request new / init / solver enhancement

Most helpful comment

@mgsloan summoner is finally released! You can see announcement here:

All 2 comments

This looks like a really cool tool that does compositional project templating along these lines: https://github.com/kowainik/summoner

@mgsloan summoner is finally released! You can see announcement here:

Was this page helpful?
0 / 5 - 0 ratings