haskell-language-server/hls-graph/hls-graph.cabal
2022-12-26 16:09:25 +05:30

144 lines
3.2 KiB
Plaintext

cabal-version: 2.4
name: hls-graph
version: 1.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
library
exposed-modules:
Control.Concurrent.STM.Stats
Development.IDE.Graph
Development.IDE.Graph.Classes
Development.IDE.Graph.Database
Development.IDE.Graph.Rule
Development.IDE.Graph.KeyMap
Development.IDE.Graph.KeySet
Development.IDE.Graph.Internal.Action
Development.IDE.Graph.Internal.Options
Development.IDE.Graph.Internal.Rules
Development.IDE.Graph.Internal.Database
Development.IDE.Graph.Internal.Paths
Development.IDE.Graph.Internal.Profile
Development.IDE.Graph.Internal.Types
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
, directory
, exceptions
, extra
, filepath
, focus
, hashable
, js-dgtable
, js-flot
, js-jquery
, list-t
, stm
, stm-containers
, time
, transformers
, unliftio
, unordered-containers
, text
if flag(embed-files)
cpp-options: -DFILE_EMBED
build-depends:
file-embed >= 0.0.11,
template-haskell
if flag(stm-stats)
cpp-options: -DSTM_STATS
if impl(ghc >= 9)
ghc-options: -Wunused-packages
ghc-options:
-Wall -Wredundant-constraints -Wno-name-shadowing
-Wno-unticked-promoted-constructors
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
default-extensions:
DataKinds
KindSignatures
TypeOperators
test-suite tests
type: exitcode-stdio-1.0
default-language: Haskell2010
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
, containers
, directory
, extra
, filepath
, hls-graph
, hspec
, stm
, stm-containers
, tasty
, tasty-hspec
, tasty-hunit
, tasty-rerun
, text
, unordered-containers
build-tool-depends: hspec-discover:hspec-discover -any
if impl(ghc >= 9)
ghc-options: -Wunused-packages