-
-
Notifications
You must be signed in to change notification settings - Fork 389
/
Copy pathhls-graph.cabal
142 lines (125 loc) · 3.23 KB
/
hls-graph.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
cabal-version: 2.4
name: hls-graph
version: 2.10.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