-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
[#246] Put common parts of the project inside common
stanza
#408
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know why your PR is still not approved? Because I chose not to approve it. But they will.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks awesome! I love our golden tests, because I immediately see how the project changes. Amazing 💦
@@ -84,6 +84,7 @@ Features related to the structure and content of the generated projects. | |||
|
|||
+ Support for Cabal and Stack build tools. | |||
+ Ability to pick stanzas (library, executable, test-suite, benchmark). | |||
+ Usage of [common stanza](https://vrom911.github.io/blog/common-stanzas) to reduce `.cabal` file's boilerplate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! 😍
import: common-options | ||
hs-source-dirs: src | ||
exposed-modules: $libModuleName | ||
$preludeMod | ||
|] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like how even our code becomes simpler because of common stanzas!
Co-Authored-By: Dmitrii Kovanikov <kovanikov@gmail.com>
Resolves #246