mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
Disable ghcide-bench by default
Introduce a cabal flag to control the building of `ghcide-bench`, which is an internal tool for benchmarking HLS. This fixes a regression, where running `cabal install haskell-language-server` would install `ghcide-bench` as well as the required HLS executables.
This commit is contained in:
parent
9565d0b2d0
commit
4486d5f9e8
@ -93,6 +93,11 @@ flag dynamic
|
||||
default: True
|
||||
manual: True
|
||||
|
||||
flag ghcide-bench
|
||||
description: Enable building of the ghcide-bench executable
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
----------------------------
|
||||
----------------------------
|
||||
-- PLUGINS
|
||||
@ -2193,6 +2198,8 @@ test-suite ghcide-tests
|
||||
|
||||
|
||||
executable ghcide-bench
|
||||
if !flag(ghcide-bench)
|
||||
buildable: False
|
||||
default-language: GHC2021
|
||||
build-depends:
|
||||
aeson,
|
||||
|
Loading…
Reference in New Issue
Block a user