Skip to content

Commit 60f811c

Browse files
authored
Merge pull request #672 from berberman/patch-misc
correct tactic plugin package metadata and cabal.hie.yaml/stack.hie.yaml
2 parents d30ec19 + 2fd380d commit 60f811c

File tree

6 files changed

+28
-23
lines changed

6 files changed

+28
-23
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -685,16 +685,16 @@ templates.
685685
#### Using Cabal
686686

687687
```shell
688-
$ cp hie.yaml.cbl hie.yaml
689-
$ cp install/hie.yaml.cbl install/hie.yaml
688+
$ cp hie-cabal.yaml hie.yaml
689+
$ cp install/hie-cabal.yaml install/hie.yaml
690690
```
691691

692692
#### Using Stack
693693

694694
```shell
695-
$ cp hie.yaml.stack hie.yaml
696-
$ cp install/hie.yaml.stack install/hie.yaml
697-
$ cp ghcide/hie.yaml.stack ghcide/hie.yaml
695+
$ cp hie-stack.yaml hie.yaml
696+
$ cp install/hie-stack.yaml install/hie.yaml
697+
$ cp ghcide/hie-stack.yaml ghcide/hie.yaml
698698
$ stack build --test --no-run-tests
699699
$ cd install
700700
$ stack build

hie.yaml.cbl renamed to hie-cabal.yaml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ cradle:
2525
- path: "./plugins/default/src"
2626
component: "haskell-language-server:exe:haskell-language-server"
2727

28-
- path: "./plugins/tactics/src"
29-
component: "lib:hls-tactics-plugin"
30-
3128
- path: "./exe/Wrapper.hs"
3229
component: "haskell-language-server:exe:haskell-language-server-wrapper"
3330

@@ -44,7 +41,21 @@ cradle:
4441
component: "ghcide:exe:ghcide"
4542

4643
- path: "./hls-plugin-api/src"
47-
component: "hls-plugin-api:lib:hls-plugin-api"
44+
component: "hls-plugin-api"
45+
46+
# Plugins:
47+
48+
- path: "./plugins/tactics/src"
49+
component: "hls-tactics-plugin:lib:hls-tactics-plugin"
50+
51+
- path: "./plugins/tactics/test"
52+
component: "hls-tactics-plugin:test:tests"
4853

4954
- path: "./plugins/hls-hlint-plugin/src"
50-
component: "lib:hls-hlint-plugin"
55+
component: "hls-hlint-plugin"
56+
57+
- path: "./plugins/hls-retrie-plugin/src"
58+
component: "hls-retrie-plugin"
59+
60+
- path: "./plugins/hls-explicit-imports-plugin/src"
61+
component: "hls-explicit-imports-plugin"

hie.yaml.stack renamed to hie-stack.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,17 @@ cradle:
3636
- path: "./test/wrapper"
3737
component: "haskell-language-server:test:wrapper-test"
3838

39+
- path: "./hls-plugin-api/src"
40+
component: "hls-plugin-api:lib"
41+
42+
# Plugins:
43+
3944
- path: "./plugins/hls-explicit-imports-plugin/src"
4045
component: "hls-explicit-imports-plugin:lib"
4146

4247
- path: "./plugins/hls-hlint-plugin/src"
4348
component: "hls-hlint-plugin:lib"
4449

45-
- path: "./hls-plugin-api/src"
46-
component: "hls-plugin-api:lib"
47-
4850
- path: "./plugins/hls-retrie-plugin/src"
4951
component: "hls-retrie-plugin:lib"
5052

File renamed without changes.
File renamed without changes.

plugins/tactics/hls-tactics-plugin.cabal

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@ cabal-version: 2.2
22
category: Development
33
name: hls-tactics-plugin
44
version: 0.5.1.0
5-
synopsis: LSP server for GHC
6-
description:
7-
Please see the README on GitHub at <https://github.com/isovector/hls-tactics-plugin#readme>
8-
9-
homepage: https://github.com/isovector/hls-tactics-plugin#readme
10-
bug-reports: https://github.com/isovector/hls-tactics-plugin/issues
5+
synopsis: Tactics plugin for Haskell Language Server
6+
description: Please see README.md
117
author: Sandy Maguire, Reed Mullanix
128
maintainer: sandy@sandymaguire.me
139
copyright: Sandy Maguire, Reed Mullanix
@@ -23,10 +19,6 @@ flag pedantic
2319
default: False
2420
manual: True
2521

26-
source-repository head
27-
type: git
28-
location: https://github.com/isovector/hls-tactics-plugin
29-
3022
library
3123
hs-source-dirs: src
3224
exposed-modules:

0 commit comments

Comments
 (0)