Skip to content

Commit 63a69f6

Browse files
Minor eval plugin fixes (#1199)
* fixed hie for hls-eval-plugin/test/Eval.hs * fixed cabal for initial hackage upload Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 836cb39 commit 63a69f6

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

hie-cabal.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ cradle:
7979
- path: "./test/functional"
8080
component: "haskell-language-server:test:func-test"
8181

82+
- path: "./plugins/hls-eval-plugin/test/Eval.hs"
83+
component: "haskell-language-server:test:func-test"
84+
8285
- path: "./plugins/tactics/src"
8386
component: "haskell-language-server:test:func-test"
8487

hie-stack.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ cradle:
3434
- path: "./test/functional"
3535
component: "haskell-language-server:test:func-test"
3636

37+
- path: "./plugins/hls-eval-plugin/test/Eval.hs"
38+
component: "haskell-language-server:test:func-test"
39+
3740
- path: "./test/wrapper"
3841
component: "haskell-language-server:test:wrapper-test"
3942

plugins/hls-eval-plugin/hls-eval-plugin.cabal

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
cabal-version: 2.2
22
name: hls-eval-plugin
3-
version: 0.1.0.0
3+
version: 0.1.0.1
44
synopsis: Eval plugin for Haskell Language Server
5+
description: Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
6+
category: Development
7+
bug-reports: https://github.com/haskell/haskell-language-server/issues
58
license: Apache-2.0
69
license-file: LICENSE
7-
author: pepeiborra@gmail.com,[email protected]
8-
maintainer: pepeiborra@gmail.com,[email protected]
10+
author: https://github.com/haskell/haskell-language-server/contributors
11+
maintainer: https://github.com/haskell/haskell-language-server/contributors
912
build-type: Simple
1013
extra-source-files: LICENSE
1114

15+
flag pedantic
16+
description: Enable -Werror
17+
default: False
18+
manual: True
19+
20+
source-repository head
21+
type: git
22+
location: https://github.com/haskell/haskell-language-server
23+
1224
library
1325
exposed-modules: Ide.Plugin.Eval
1426
hs-source-dirs: src
@@ -51,4 +63,9 @@ library
5163
, transformers
5264
, unordered-containers
5365

66+
ghc-options: -Wall -Wno-name-shadowing
67+
68+
if flag(pedantic)
69+
ghc-options: -Werror
70+
5471
default-language: Haskell2010

0 commit comments

Comments
 (0)