haskell-language-server/hls-graph/hls-graph.cabal
fendor 287ee42ab5
Prepare release 2.9.0.0 (#4319)
* Prepare release 2.9.0.0

* Bump 'bytestring' version for release CI test scripts

The older 'bytestring-0.11.1.0' version doesn't compile with the recent
GHC 9.10.1 release. Bump the version to '0.12.1.0' which can be
successfully compiled on all supported GHC versions.

* Update supported GHC version table

* Move plugin ghc support conditionals into .cabal file

Having them in the cabal.project file is a very neat way to
enable/disable a plugin, but it negatively affects Hackage users as they
can no longer trivially install HLS from Hackage.

This discussion might be revisited in the future, but not during a
release process.

* Disable tests and benchmarks in release test pipeline

On some platforms, building bytestring-0.12.1.0 is not fully supported
yet. Hence, we disable tests and benchmarks, to allow building on the
platform Windows with GHC 9.10.1.

* Always show debug output in release test ci

* Upgrade cabal version in the release pipeline

* Switch to `text` for release test package

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2024-06-19 10:35:14 +02:00

143 lines
3.2 KiB
Plaintext

cabal-version: 2.4
name: hls-graph
version: 2.9.0.0
synopsis: Haskell Language Server internal graph API
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server/tree/master/hls-graph#readme>
homepage: https://github.com/haskell/haskell-language-server#readme
bug-reports: https://github.com/haskell/haskell-language-server/issues
license: Apache-2.0
license-file: LICENSE
author: The Haskell IDE Team
maintainer: The Haskell IDE Team
copyright: The Haskell IDE Team
category: Development
build-type: Simple
data-files:
html/profile.html
html/shake.js
extra-source-files: README.md
flag pedantic
description: Enable -Werror
default: False
manual: True
flag embed-files
default: False
manual: True
description: Embed data files into the shake library
flag stm-stats
default: False
manual: True
description: Collect STM transaction stats
source-repository head
type: git
location: https://github.com/haskell/haskell-language-server
common warnings
ghc-options:
-Wall
-Wredundant-constraints
-Wunused-packages
-Wno-name-shadowing
-Wno-unticked-promoted-constructors
library
import: warnings
exposed-modules:
Control.Concurrent.STM.Stats
Development.IDE.Graph
Development.IDE.Graph.Classes
Development.IDE.Graph.Database
Development.IDE.Graph.Internal.Action
Development.IDE.Graph.Internal.Database
Development.IDE.Graph.Internal.Options
Development.IDE.Graph.Internal.Key
Development.IDE.Graph.Internal.Paths
Development.IDE.Graph.Internal.Profile
Development.IDE.Graph.Internal.Rules
Development.IDE.Graph.Internal.Types
Development.IDE.Graph.KeyMap
Development.IDE.Graph.KeySet
Development.IDE.Graph.Rule
Paths_hls_graph
autogen-modules: Paths_hls_graph
hs-source-dirs: src
build-depends:
, aeson
, async >=2.0
, base >=4.12 && <5
, bytestring
, containers
, deepseq
, exceptions
, extra
, filepath
, focus >=1.0.3.2
, hashable
, js-dgtable
, js-flot
, js-jquery
, list-t
, stm
, stm-containers
, text
, time
, transformers
, unliftio
, unordered-containers
if flag(embed-files)
cpp-options: -DFILE_EMBED
build-depends:
, file-embed >=0.0.11
, template-haskell
else
build-depends:
directory
if flag(stm-stats)
cpp-options: -DSTM_STATS
if flag(pedantic)
ghc-options: -Werror
default-language: GHC2021
default-extensions:
DataKinds
test-suite tests
import: warnings
type: exitcode-stdio-1.0
default-language: GHC2021
hs-source-dirs: test
main-is: Main.hs
other-modules:
ActionSpec
DatabaseSpec
Example
RulesSpec
Spec
ghc-options:
-threaded -rtsopts -with-rtsopts=-N -fno-ignore-asserts
build-depends:
, base
, extra
, hls-graph
, hspec
, stm
, stm-containers
, tasty
, tasty-hspec >= 1.2
, tasty-rerun
build-tool-depends: hspec-discover:hspec-discover