Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for Hackage #1176

Merged
merged 5 commits into from
Jan 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 31 additions & 25 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -77,91 +77,97 @@ library

default-language: Haskell2010

-- Plugin flags are designed for 'cabal install haskell-language-server':
-- - Packaged plugins should be manual:False
-- - Non packaged plugins and bulk flags should be manual:True
-- - Bulk flags should be default:False
-- - Individual flags should be default:True

flag all-plugins
description: Enable all non formatter plugins
default: True
default: False
manual: True

flag all-formatters
description: Enable all fomatters
default: True
default: False
manual: True

flag class
description: Enable class plugin
default: False
manual: True
default: True
manual: False

flag haddockComments
description: Enable haddockComments plugin
default: False
manual: True
default: True
manual: False

flag eval
description: Enable eval plugin
default: False
manual: True
default: True
manual: False

flag importLens
description: Enable importLens plugin
default: False
manual: True
default: True
manual: False

flag retrie
description: Enable retrie plugin
default: False
manual: True
default: True
manual: False

flag tactic
description: Enable tactic plugin
default: False
manual: True
default: True
manual: False

flag hlint
description: Enable hlint plugin
default: False
manual: True
default: True
manual: False

flag moduleName
description: Enable moduleName plugin
default: False
default: True
manual: True

flag pragmas
description: Enable pragmas plugin
default: False
default: True
manual: True

flag splice
description: Enable splice plugin
default: False
manual: True
default: True
manual: False

-- formatters

flag floskell
description: Enable floskell plugin
default: False
default: True
manual: True

flag fourmolu
description: Enable fourmolu plugin
default: False
default: True
manual: True

flag ormolu
description: Enable ormolu plugin
default: False
default: True
manual: True

flag stylishHaskell
description: Enable stylishHaskell plugin
default: False
default: True
manual: True

flag brittany
description: Enable brittany plugin
default: False
default: True
manual: True

common example-plugins
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-class-plugin/hls-class-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ library
exposed-modules: Ide.Plugin.Class
hs-source-dirs: src
build-depends: aeson
, base
, base >=4.12 && <5
, containers
, haskell-lsp
, hls-plugin-api
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-eval-plugin/hls-eval-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ library

build-depends:
, aeson
, base
, base >=4.12 && <5
, containers
, deepseq
, Diff
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ library
exposed-modules: Ide.Plugin.ExplicitImports
hs-source-dirs: src
build-depends: aeson
, base
, base >=4.12 && <5
, containers
, deepseq
, haskell-lsp-types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ library
hs-source-dirs: src
ghc-options: -Wall -Wno-name-shadowing -Wredundant-constraints
build-depends:
, base
, base >=4.12 && <5
, containers
, ghc
, ghc-exactprint
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-hlint-plugin/hls-hlint-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ library
build-depends:
, aeson
, apply-refact
, base
, base >=4.12 && <5
, binary
, bytestring
, containers
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-retrie-plugin/hls-retrie-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ library
exposed-modules: Ide.Plugin.Retrie
hs-source-dirs: src
build-depends: aeson
, base
, base >=4.12 && <5
, containers
, deepseq
, directory
Expand Down
2 changes: 1 addition & 1 deletion plugins/hls-splice-plugin/hls-splice-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ library
other-modules: Ide.Plugin.Splice.Types
hs-source-dirs: src
build-depends: aeson
, base
, base >=4.12 && <5
, containers
, foldl
, haskell-lsp
Expand Down