-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate tactics into its own package (#516)
Move the tactics plugin into a separate package, completely distinct form the hls exe which previously hosted this code. This is the first step towards moving tactics out of hls proper entirely.
- Loading branch information
Showing
13 changed files
with
92 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ packages: | |
./ | ||
ghcide | ||
hls-plugin-api | ||
./plugins/tactics | ||
|
||
source-repository-package | ||
type: git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
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 | ||
author: Sandy Maguire, Reed Mullanix | ||
maintainer: [email protected] | ||
copyright: Sandy Maguire, Reed Mullanix | ||
-- license: Apache-2.0 | ||
-- license-file: LICENSE | ||
build-type: Simple | ||
-- extra-source-files: | ||
-- README.md | ||
-- ChangeLog.md | ||
|
||
flag pedantic | ||
description: Enable -Werror | ||
default: False | ||
manual: True | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/isovector/hls-tactics-plugin | ||
|
||
library | ||
hs-source-dirs: src | ||
exposed-modules: | ||
Ide.Plugin.Tactic | ||
Ide.Plugin.Tactic.Auto | ||
Ide.Plugin.Tactic.CodeGen | ||
Ide.Plugin.Tactic.Context | ||
Ide.Plugin.Tactic.Debug | ||
Ide.Plugin.Tactic.GHC | ||
Ide.Plugin.Tactic.Judgements | ||
Ide.Plugin.Tactic.KnownStrategies | ||
Ide.Plugin.Tactic.Machinery | ||
Ide.Plugin.Tactic.Naming | ||
Ide.Plugin.Tactic.Range | ||
Ide.Plugin.Tactic.Tactics | ||
Ide.Plugin.Tactic.Types | ||
Ide.Plugin.Tactic.TestTypes | ||
Ide.TreeTransform | ||
|
||
ghc-options: | ||
-Wno-name-shadowing -Wredundant-constraints | ||
if flag(pedantic) | ||
ghc-options: -Werror | ||
|
||
build-depends: | ||
, aeson | ||
, base >=4.12 && <5 | ||
, containers | ||
, directory | ||
, extra | ||
, filepath | ||
, fingertree | ||
, generic-lens | ||
, ghc | ||
, ghc-boot-th | ||
, ghc-exactprint | ||
, ghc-source-gen | ||
, ghcide >=0.1 | ||
, haskell-lsp ^>=0.22 | ||
, hls-plugin-api | ||
, lens | ||
, mtl | ||
, refinery ^>=0.3 | ||
, retrie >=0.1.1.0 | ||
, shake >=0.17.5 | ||
, syb | ||
, text | ||
, transformers | ||
|
||
default-language: Haskell2010 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ packages: | |
- . | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./plugins/tactics | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ packages: | |
- . | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./plugins/tactics | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ packages: | |
- . | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./plugins/tactics | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ packages: | |
- . | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./plugins/tactics | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ packages: | |
- . | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./plugins/tactics | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ packages: | |
- . | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./plugins/tactics | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ packages: | |
- . | ||
- ./ghcide/ | ||
- ./hls-plugin-api | ||
- ./plugins/tactics | ||
|
||
ghc-options: | ||
"$everything": -haddock | ||
|