-
-
Notifications
You must be signed in to change notification settings - Fork 410
Fix various issues #4024
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
Fix various issues #4024
Conversation
|
cc also @jhrcek |
jhrcek
left a comment
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.
Two nitpicks, otherwise nice consolidation. I'll update my open PRs once this is merged.
| test-suite func-test | ||
| import: common-deps | ||
| import: defaults | ||
| , test-defaults |
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.
You can remove "-threaded -rtsopts -with-rtsopts=-N" from func-test now that you're importing test-defaults
| if impl(ghc >= 9.5) | ||
| buildable: False | ||
| type: exitcode-stdio-1.0 | ||
| default-language: Haskell2010 |
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.
You can remove -Wall -Wno-name-shadowing from benchmark now that you're importing warnings.
|
Some |
5b9b487 to
dd74b75
Compare
|
The ghcide tests looks like they suddenly are picking up HLS as the cradle root which is taking forever and probably wrong. I can look into it. |
- Make sure that we are always referring to the local libraries and not
the published Hackage packages!
- This needs a `cabal-version` bump
- Make sure every component imports the default stanzas
- Add a `defaults` stanza for `default-language`
- Add a `tests-default` stanza for making sure test suites are built
threaded
- Remove unnecessary warning-related `ghc-options`
- Use the `pedantic` stanza instead of manual checks for `pedantic`
dd74b75 to
b4d9eb5
Compare
|
hooray, green |
The first thing here is quite bad - my mistake! Unfortunately I got it all tangled in some other changes, but I think they're uncontroversial.
cabal-versionbumpdefaultsstanza fordefault-languagetests-defaultstanza for making sure test suites are built threadedghc-optionspedanticstanza instead of manual checks forpedantic