Skip to content

Commit

Permalink
Merge pull request #672 from berberman/patch-misc
Browse files Browse the repository at this point in the history
correct tactic plugin package metadata and cabal.hie.yaml/stack.hie.yaml
  • Loading branch information
jneira authored Dec 14, 2020
2 parents d30ec19 + 2fd380d commit 60f811c
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 23 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -685,16 +685,16 @@ templates.
#### Using Cabal

```shell
$ cp hie.yaml.cbl hie.yaml
$ cp install/hie.yaml.cbl install/hie.yaml
$ cp hie-cabal.yaml hie.yaml
$ cp install/hie-cabal.yaml install/hie.yaml
```

#### Using Stack

```shell
$ cp hie.yaml.stack hie.yaml
$ cp install/hie.yaml.stack install/hie.yaml
$ cp ghcide/hie.yaml.stack ghcide/hie.yaml
$ cp hie-stack.yaml hie.yaml
$ cp install/hie-stack.yaml install/hie.yaml
$ cp ghcide/hie-stack.yaml ghcide/hie.yaml
$ stack build --test --no-run-tests
$ cd install
$ stack build
Expand Down
21 changes: 16 additions & 5 deletions hie.yaml.cbl → hie-cabal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ cradle:
- path: "./plugins/default/src"
component: "haskell-language-server:exe:haskell-language-server"

- path: "./plugins/tactics/src"
component: "lib:hls-tactics-plugin"

- path: "./exe/Wrapper.hs"
component: "haskell-language-server:exe:haskell-language-server-wrapper"

Expand All @@ -44,7 +41,21 @@ cradle:
component: "ghcide:exe:ghcide"

- path: "./hls-plugin-api/src"
component: "hls-plugin-api:lib:hls-plugin-api"
component: "hls-plugin-api"

# Plugins:

- path: "./plugins/tactics/src"
component: "hls-tactics-plugin:lib:hls-tactics-plugin"

- path: "./plugins/tactics/test"
component: "hls-tactics-plugin:test:tests"

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

- path: "./plugins/hls-retrie-plugin/src"
component: "hls-retrie-plugin"

- path: "./plugins/hls-explicit-imports-plugin/src"
component: "hls-explicit-imports-plugin"
8 changes: 5 additions & 3 deletions hie.yaml.stack → hie-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,17 @@ cradle:
- path: "./test/wrapper"
component: "haskell-language-server:test:wrapper-test"

- path: "./hls-plugin-api/src"
component: "hls-plugin-api:lib"

# Plugins:

- path: "./plugins/hls-explicit-imports-plugin/src"
component: "hls-explicit-imports-plugin:lib"

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

- path: "./hls-plugin-api/src"
component: "hls-plugin-api:lib"

- path: "./plugins/hls-retrie-plugin/src"
component: "hls-retrie-plugin:lib"

Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 2 additions & 10 deletions plugins/tactics/hls-tactics-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ cabal-version: 2.2
category: Development
name: hls-tactics-plugin
version: 0.5.1.0
synopsis: LSP server for GHC
description:
Please see the README on GitHub at <https://github.com/isovector/hls-tactics-plugin#readme>

homepage: https://github.com/isovector/hls-tactics-plugin#readme
bug-reports: https://github.com/isovector/hls-tactics-plugin/issues
synopsis: Tactics plugin for Haskell Language Server
description: Please see README.md
author: Sandy Maguire, Reed Mullanix
maintainer: [email protected]
copyright: Sandy Maguire, Reed Mullanix
Expand All @@ -23,10 +19,6 @@ flag pedantic
default: False
manual: True

source-repository head
type: git
location: https://github.com/isovector/hls-tactics-plugin

library
hs-source-dirs: src
exposed-modules:
Expand Down

0 comments on commit 60f811c

Please sign in to comment.