-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylish-cabal.cabal
169 lines (150 loc) · 5.06 KB
/
stylish-cabal.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
159
160
161
162
163
164
165
166
167
168
169
name: stylish-cabal
version: 0.4.0.2
synopsis: Format Cabal files
description: A tool for nicely formatting your Cabal file.
license: BSD3
license-file: LICENSE
author: Jude Taylor
maintainer: [email protected]
tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2,
GHC == 8.2.2, GHC == 8.4.3
category: Language
build-type: Simple
extra-source-files: ChangeLog.md
tests/cabal-files/*.txt
cabal-version: 2.0
source-repository head
type: git
location: https://github.com/pikajude/stylish-cabal.git
flag werror
default: False
manual: True
description: build with -Werror
flag test-hackage
default: False
manual: True
description: Should I test all Hackage cabal files?
flag test-strictness
default: False
manual: True
description: Run the strictness testsuite. This requires the StrictCheck package which
is not yet on Hackage, and thus is disabled by default.
library
exposed-modules: StylishCabal
other-modules: Parse
Render
Render.Lib
Render.Lib.Haddock
Render.Options
Transform
Types.Block
Types.Field
hs-source-dirs: src
build-depends: base == 4.*
, Cabal ^>= 2.2
, ansi-wl-pprint
, base-compat == 0.10.*
, data-default
, deepseq
, haddock-library ^>= 1.5
, microlens
, mtl
, split
default-language: Haskell2010
default-extensions: NoMonomorphismRestriction
NoImplicitPrelude
ghc-options: -Wall -fno-warn-missing-signatures
if impl(ghc < 7.6)
build-depends: ghc-prim
if flag(werror)
ghc-options: -Werror
library test-utils
exposed-modules: Expectations
SortedPackageDescription
other-modules: MultiSet
SortedPackageDescription.TH
hs-source-dirs: tests/utils
build-depends: base
, Cabal
, base-compat
, containers
, haddock-library
, hspec < 2.5
, hspec-core
, microlens
, microlens-th
, split
, stylish-cabal
, template-haskell
, utf8-string
default-language: Haskell2010
default-extensions: NoImplicitPrelude
ghc-options: -Wall -fno-warn-missing-signatures
if flag(werror)
ghc-options: -Werror
executable stylish-cabal
main-is: Main.hs
build-depends: base, base-compat, bytestring, optparse-applicative, stylish-cabal
default-language: Haskell2010
default-extensions: NoImplicitPrelude
ghc-options: -Wall
if flag(werror)
ghc-options: -Werror
test-suite strictness
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Instances
Pretty
hs-source-dirs: tests/strictness
build-depends: base
, Cabal
, StrictCheck
, ansi-wl-pprint
, base-compat
, bytestring
, deepseq
, generics-sop
, hspec
, hspec-expectations-pretty-diff
, stylish-cabal
default-language: Haskell2010
default-extensions: NoImplicitPrelude
ghc-options: -freduction-depth=0 -Wall
if flag(werror)
ghc-options: -Werror
if !(flag(test-strictness) && impl(ghc >= 8.2))
buildable: False
test-suite roundtrip
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests/roundtrip
build-depends: base, base-compat, bytestring, hspec, test-utils
default-language: Haskell2010
default-extensions: NoImplicitPrelude
ghc-options: -Wall -fno-warn-missing-signatures
if flag(werror)
ghc-options: -Werror
test-suite roundtrip-hackage
type: exitcode-stdio-1.0
main-is: Hackage.hs
hs-source-dirs: tests/roundtrip
build-depends: base
, aeson
, base-compat
, bytestring
, hspec
, hspec-core
, lens
, mwc-random
, test-utils
, utf8-string
, vector
, wreq
default-language: Haskell2010
default-extensions: NoImplicitPrelude
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
-fno-warn-missing-signatures
if flag(werror)
ghc-options: -Werror
if !flag(test-hackage)
buildable: False