Skip to content

Minor eval plugin fixes #1199

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

Merged
merged 3 commits into from
Jan 12, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions hie-cabal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ cradle:
- path: "./test/functional"
component: "haskell-language-server:test:func-test"

- path: "./plugins/hls-eval-plugin/test/Eval.hs"
component: "haskell-language-server:test:func-test"

- path: "./plugins/tactics/src"
component: "haskell-language-server:test:func-test"

Expand Down
3 changes: 3 additions & 0 deletions hie-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ cradle:
- path: "./test/functional"
component: "haskell-language-server:test:func-test"

- path: "./plugins/hls-eval-plugin/test/Eval.hs"
component: "haskell-language-server:test:func-test"

- path: "./test/wrapper"
component: "haskell-language-server:test:wrapper-test"

Expand Down
23 changes: 20 additions & 3 deletions plugins/hls-eval-plugin/hls-eval-plugin.cabal
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
cabal-version: 2.2
name: hls-eval-plugin
version: 0.1.0.0
version: 0.1.0.1
synopsis: Eval plugin for Haskell Language Server
description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
category: Development
bug-reports: https://github.com/haskell/haskell-language-server/issues
license: Apache-2.0
license-file: LICENSE
author: pepeiborra@gmail.com,[email protected]
maintainer: pepeiborra@gmail.com,[email protected]
author: https://github.com/haskell/haskell-language-server/contributors
maintainer: https://github.com/haskell/haskell-language-server/contributors
build-type: Simple
extra-source-files: LICENSE

flag pedantic
description: Enable -Werror
default: False
manual: True

source-repository head
type: git
location: https://github.com/haskell/haskell-language-server

library
exposed-modules: Ide.Plugin.Eval
hs-source-dirs: src
Expand Down Expand Up @@ -51,4 +63,9 @@ library
, transformers
, unordered-containers

ghc-options: -Wall -Wno-name-shadowing

if flag(pedantic)
ghc-options: -Werror

default-language: Haskell2010