diff --git a/hie-cabal.yaml b/hie-cabal.yaml index 585f16c9ea..596efef8ba 100644 --- a/hie-cabal.yaml +++ b/hie-cabal.yaml @@ -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" diff --git a/hie-stack.yaml b/hie-stack.yaml index 3f480502e0..393770bb99 100644 --- a/hie-stack.yaml +++ b/hie-stack.yaml @@ -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" diff --git a/plugins/hls-eval-plugin/hls-eval-plugin.cabal b/plugins/hls-eval-plugin/hls-eval-plugin.cabal index 1cfffd9b51..a84a2c19a2 100644 --- a/plugins/hls-eval-plugin/hls-eval-plugin.cabal +++ b/plugins/hls-eval-plugin/hls-eval-plugin.cabal @@ -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 +category: Development +bug-reports: https://github.com/haskell/haskell-language-server/issues license: Apache-2.0 license-file: LICENSE -author: pepeiborra@gmail.com,tittoassini@gmail.com -maintainer: pepeiborra@gmail.com,tittoassini@gmail.com +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 @@ -51,4 +63,9 @@ library , transformers , unordered-containers + ghc-options: -Wall -Wno-name-shadowing + + if flag(pedantic) + ghc-options: -Werror + default-language: Haskell2010