-
Notifications
You must be signed in to change notification settings - Fork 11
/
buildwrapper.cabal
158 lines (152 loc) · 5.23 KB
/
buildwrapper.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
name: buildwrapper
version: 0.9.2
cabal-version: >= 1.8
build-type: Custom
license: BSD3
license-file: LICENSE
synopsis: A library and an executable that provide an easy API for a Haskell IDE
description: Buildwrapper is an alternative to scion.
It provides services to configure, build and give information on source files to help IDEs manage Haskell projects.
You can use buildwrapper to build project and retrieve errors, get outline for each module source, get the type of something inside a source file, get lexer tokens, etc.
Buildwrapper is used in the EclipseFP project (Eclipse plugins for Haskell development)
category: Development
stability: beta
maintainer: JP Moresmau <[email protected]>
author: JP Moresmau <[email protected]>, based on the work of Thomas Schilling and others
homepage: https://github.com/JPMoresmau/BuildWrapper
extra-source-files: README.md
CHANGELOG
flag lib-Werror
default: False
manual: True
library
hs-source-dirs: src
build-depends:
base < 5,
filepath,
mtl,
directory,
Cabal,
dynamic-cabal >=0.3.1 && <0.4,
process,
regex-tdfa,
ghc,
ghc-paths,
syb,
text,
containers,
vector >= 0.8,
haskell-src-exts >= 1.12 && <1.17,
cpphs,
old-time,
aeson >=0.7 && <0.9,
unordered-containers,
utf8-string,
bytestring,
attoparsec>=0.11 && <0.13,
transformers,
deepseq,
ghc-pkg-lib,
conduit,
conduit-extra,
async,
packdeps >=0.4 && <0.5
ghc-options: -Wall -fno-warn-unused-do-bind
exposed-modules:
Language.Haskell.BuildWrapper.API,
Language.Haskell.BuildWrapper.Base,
Language.Haskell.BuildWrapper.Cabal,
Language.Haskell.BuildWrapper.GHC
extensions: CPP
other-modules:
Language.Haskell.BuildWrapper.GHCStorage,
Language.Haskell.BuildWrapper.Src
if impl(ghc >= 7.6)
build-depends:
time
if flag(lib-Werror)
ghc-options: -Werror
executable buildwrapper
hs-source-dirs: src-exe
main-is: Main.hs
build-depends:
base < 5,
buildwrapper,
cmdargs,
filepath,
Cabal,
dynamic-cabal >=0.3 && <0.4,
directory,
mtl,
ghc,
cpphs,
haskell-src-exts,
old-time,
ghc-paths,
vector >= 0.8,
containers,
syb,
process,
regex-tdfa,
text,
aeson,
bytestring,
transformers,
ghc-pkg-lib,
conduit,
conduit-extra,
async,
packdeps
ghc-options: -Wall -fno-warn-unused-do-bind -optl -s -threaded
-- see https://ghc.haskell.org/trac/ghc/ticket/8376
if impl(ghc >= 7.8) && impl(ghc < 7.10)
ghc-options:
-dynamic
other-modules: Language.Haskell.BuildWrapper.CMD
if impl(ghc >= 7.6)
build-depends:
time
test-suite buildwrapper-test
type: exitcode-stdio-1.0
hs-source-dirs: test
build-depends:
base < 5,
buildwrapper,
HUnit,
mtl,
filepath,
directory,
Cabal,
dynamic-cabal,
old-time,
aeson,
text,
process,
bytestring,
attoparsec,
HTF > 0.9,
transformers,
vector,
unordered-containers,
containers,
ghc-pkg-lib,
conduit,
conduit-extra,
async,
packdeps
main-is: Main.hs
ghc-options: -Wall -fno-warn-unused-do-bind -optl -s -threaded
other-modules:
Language.Haskell.BuildWrapper.APITest,
Language.Haskell.BuildWrapper.CMDTests,
Language.Haskell.BuildWrapper.GHCTests,
Language.Haskell.BuildWrapper.UsagesTests,
Language.Haskell.BuildWrapper.ImportsTests,
Language.Haskell.BuildWrapper.CabalDevTests,
Language.Haskell.BuildWrapper.CMDLongRunningTests
if impl(ghc >= 7.6)
build-depends:
time
source-repository head
type: git
location: git://github.com/JPMoresmau/BuildWrapper.git