Skip to content

Conversation

@anka-213
Copy link
Contributor

@anka-213 anka-213 commented Feb 22, 2021

Instead of just having a hard-coded list of preprocessor extensions, this adds a configuration option for custom preprocessor extensions.

Fixes #3491 as suggested in #3491 (comment)

TODO:

  • Any changes that could be relevant to users have been recorded in the ChangeLog.md
  • The documentation has been updated, if necessary.
  • Add tests

Please also shortly describe how you tested your change. Bonus points for added tests!

I have manually tested the option on an external repo. It updates on changes as expected.

@anka-213
Copy link
Contributor Author

The build failures seem to be unrelated to my changes. Should I try to fix them anyways?

@anka-213 anka-213 marked this pull request as ready for review February 23, 2021 06:56
Copy link
Contributor

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@snoyberg snoyberg merged commit 6b33abe into commercialhaskell:master Mar 25, 2021
@anka-213
Copy link
Contributor Author

How often do you usually release new versions of stack? I'm curious about approximately when I can expect this to be in an official release?

@snoyberg
Copy link
Contributor

We're typically pretty slow on the releases, maybe every 6-12 months. But since we just added support for GHC 9, we can probably do this one pretty soon. I'll ping internally.

@anka-213
Copy link
Contributor Author

Thanks!

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

Successfully merging this pull request may close these issues.

Handle change tracking for pre-processor files / don't warn about them

2 participants