Skip to content

Allow hackage upload #3153

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

Merged
merged 2 commits into from
Sep 14, 2022
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
2 changes: 1 addition & 1 deletion ghcide/test/ghcide-test-utils.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ library
default-language: Haskell2010
build-depends:
aeson,
base,
base > 4.9 && < 5,
containers,
data-default,
directory,
Expand Down
139 changes: 64 additions & 75 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -50,45 +50,6 @@ common pedantic
if flag(pedantic)
ghc-options: -Werror

library
import: common-deps
-- configuration
, warnings
, pedantic
exposed-modules:
Ide.Arguments
Ide.Main
Ide.Version

other-modules: Paths_haskell_language_server
autogen-modules: Paths_haskell_language_server
hs-source-dirs: src
build-depends:
, async
, base16-bytestring
, bytestring
, containers
, cryptohash-sha1
, data-default
, ghc
, ghcide ^>=1.8
, githash >=0.1.6.1
, lsp
, hie-bios
, hiedb
, hls-plugin-api ^>=1.5
, optparse-applicative
, optparse-simple
, process
, hls-graph
, safe-exceptions
, sqlite-simple
, unordered-containers
, aeson-pretty

default-language: Haskell2010
default-extensions: DataKinds, TypeOperators

-- Plugin flags are designed for 'cabal install haskell-language-server':
-- - Bulk flags should be default:False
-- - Individual flags should be default:True
Expand Down Expand Up @@ -370,42 +331,71 @@ common refactor
build-depends: hls-refactor-plugin ^>= 1.0
cpp-options: -Dhls_refactor

library plugins
import: common-deps
library
import: common-deps
-- configuration
, warnings
, pedantic
-- plugins
, callHierarchy
, changeTypeSignature
, class
, haddockComments
, eval
, importLens
, refineImports
, rename
, retrie
, tactic
, hlint
, stan
, moduleName
, pragmas
, splice
, alternateNumberFormat
, qualifyImportedNames
, codeRange
, gadt
, explicitFixity
, floskell
, fourmolu
, ormolu
, stylishHaskell
, brittany
, refactor
exposed-modules: HlsPlugins
hs-source-dirs: src
, warnings
, pedantic
-- plugins
, callHierarchy
, changeTypeSignature
, class
, haddockComments
, eval
, importLens
, refineImports
, rename
, retrie
, tactic
, hlint
, stan
, moduleName
, pragmas
, splice
, alternateNumberFormat
, qualifyImportedNames
, codeRange
, gadt
, explicitFixity
, floskell
, fourmolu
, ormolu
, stylishHaskell
, brittany
, refactor

exposed-modules:
Ide.Arguments
Ide.Main
Ide.Version
HlsPlugins

other-modules: Paths_haskell_language_server
autogen-modules: Paths_haskell_language_server
hs-source-dirs: src
build-depends:
, async
, base16-bytestring
, bytestring
, containers
, cryptohash-sha1
, data-default
, ghc
, ghcide ^>=1.8
, githash >=0.1.6.1
, lsp
, hie-bios
, hiedb
, hls-plugin-api ^>=1.5
, optparse-applicative
, optparse-simple
, process
, hls-graph
, safe-exceptions
, sqlite-simple
, unordered-containers
, aeson-pretty

build-depends: ghcide, hls-plugin-api
default-language: Haskell2010
default-extensions: DataKinds, TypeOperators

Expand Down Expand Up @@ -452,7 +442,6 @@ executable haskell-language-server
, ghcide
, hashable
, haskell-language-server
, haskell-language-server:plugins
, lsp
, hie-bios
, hiedb
Expand Down Expand Up @@ -630,7 +619,7 @@ benchmark benchmark
extra,
filepath,
ghcide-bench,
haskell-language-server:plugins,
haskell-language-server,
hls-plugin-api,
lens,
lens-aeson,
Expand Down