-
-
Notifications
You must be signed in to change notification settings - Fork 391
Add test data files to extra-source-files #1605
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
cabal-version: 2.2 | ||
cabal-version: 2.4 | ||
name: hls-brittany-plugin | ||
version: 1.0.0.0 | ||
synopsis: Integration with the Brittany code formatter | ||
description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme> | ||
license: Apache-2.0 | ||
license-file: LICENSE | ||
author: The Haskell IDE Team | ||
|
@@ -11,12 +12,13 @@ category: Development | |
build-type: Simple | ||
extra-source-files: | ||
LICENSE | ||
test/testdata/**/*.hs | ||
|
||
library | ||
exposed-modules: Ide.Plugin.Brittany | ||
hs-source-dirs: src | ||
build-depends: base | ||
, brittany >= 0.13.1.0 | ||
build-depends: base >=4.12 && <5 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I copied it from the main package so I would keep it for consistency, this way we will accept base > 4.12 && < 5, not sure if it is a good thing though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, the plan sounds good to me |
||
, brittany >= 0.13.1.0 | ||
, filepath | ||
, ghc | ||
, ghc-boot-th | ||
|
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 is kinda hacky to me... Let's move eval plugin's tests into its own package, like Sandy did in #1425
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.
Agree but it deserves its own pr? This one only makes the hack more evident 😃
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.
@berberman we can wait for such pr and rebase, if it is about to be done, of course
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'm working on this. I think we need extract
hls-test-utils
to a standalone package, with some test framework stuffs re-exported, so that tests extracted from HLS could reuse these code.Uh oh!
There was an error while loading. Please reload this page.
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 will remove eval test data files and wait for #1606