Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make stack template project template #53

Open
axman6 opened this issue Apr 1, 2016 · 2 comments
Open

Make stack template project template #53

axman6 opened this issue Apr 1, 2016 · 2 comments

Comments

@axman6
Copy link
Contributor

axman6 commented Apr 1, 2016

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.

@larskuhtz
Copy link
Member

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.

@axman6
Copy link
Contributor Author

axman6 commented Apr 3, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants