Open axman6 opened 8 years ago
I wasn't aware of stack templates. I'll take a look. If you have experience with stack templates feel free to propose somethings.
Thanks for your feedback, it is most welcome! Let me know if there are particular things that should be improved or better documented. Pull requests are welcome, too.
Thanks Lars, The one thing missing from the documentation about how to use the Setup.hs file is to rename the module to Main
instead of Configuration.Utils.Setup
when copying the whole file (necessary for usage with Stack, hence this proposal).
I had a fair bit of trouble getting things working under stack and it'd be great to have a template which made a new project with an example config data type, all the right dependencies, and the proper .cabal and Setup.hs files. Templates can be made available to
stack
by making a pull request on commercialhaskell/stack-templates.