-
Notifications
You must be signed in to change notification settings - Fork 1
/
cabal-prettify.cabal
114 lines (107 loc) · 2.83 KB
/
cabal-prettify.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
cabal-version: 3.0
name: cabal-prettify
version: 0.2.3.3
author: Ignat Insarov
maintainer: kindaro@gmail.com
tested-with: GHC == 9.2.1, GHC == 9.4.4
extra-source-files:
examples/**/*.cabal
examples/**/*.hs
examples/**/*.md
examples/**/*.project
examples/cabal-init/after/flags--/.cabal-init.cabal.backup
examples/cabal-init/after/flags--/manifest
examples/cabal-init/after/flags--expose/.cabal-init.cabal.backup
examples/cabal-init/after/flags--expose/manifest
examples/cabal-init/after/flags--move-expose/.cabal-init.cabal.backup
examples/cabal-init/after/flags--move-expose/manifest
examples/cabal-init/after/flags--move/.cabal-init.cabal.backup
examples/cabal-init/after/flags--move/manifest
examples/exposed/after/flags--/.exposed.cabal.backup
examples/exposed/after/flags--/manifest
examples/exposed/after/flags--expose/.exposed.cabal.backup
examples/exposed/after/flags--expose/manifest
examples/exposed/after/flags--move-expose/.exposed.cabal.backup
examples/exposed/after/flags--move-expose/manifest
examples/exposed/after/flags--move/.exposed.cabal.backup
examples/exposed/after/flags--move/manifest
test-data/other/*.cabal
test-data/unchanged/*.cabal
common commons
default-language: GHC2021
default-extensions:
ApplicativeDo
BlockArguments
DuplicateRecordFields
LambdaCase
OverloadedStrings
RecordWildCards
UnicodeSyntax
ghc-options: -Wall -Wextra -Werror -Wno-name-shadowing -Wunused-packages
library
import: commons
hs-source-dirs: library
exposed-modules: Distribution.Prettify Distribution.Prettify.Parsers Prelude.Fancy
build-depends:
, base
, base-unicode-symbols
, bytestring
, Cabal >= 3.8
, containers
, mtl
, parsec >= 3.1.17
, path >= 0.7
, path-io
, pretty
, recursion-schemes
, utf8-string
executable cabal-prettify
import: commons
hs-source-dirs: executables/cabal-prettify
main-is: Main.hs
other-modules: PackageInfo_cabal_prettify
build-depends:
, base
, base-unicode-symbols
, bytestring
, Cabal >= 3.8
, cabal-prettify
, generic-deriving
, optparse-applicative
, path >= 0.7
, path-io
, transformers
ghc-options: -Wno-orphans
test-suite checks
import: commons
type: exitcode-stdio-1.0
hs-source-dirs: test-suites/checks
main-is: Main.hs
build-depends:
, base
, base-unicode-symbols
, Cabal >= 3.8
, cabal-prettify
, file-embed
, tasty
, tasty-quickcheck
test-suite examples
import: commons
type: exitcode-stdio-1.0
hs-source-dirs: test-suites/examples/
main-is: Main.hs
build-depends:
, base
, base-unicode-symbols
, bytestring
, cabal-prettify
, containers
, mtl
, path >= 0.7
, path-io
, tasty
, tasty-golden
, tasty-program
, text >= 2
, typed-process
, utf8-string