-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfix-whitespace.cabal
128 lines (109 loc) · 3.06 KB
/
fix-whitespace.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
cabal-version: 2.2
name: fix-whitespace
version: 0.1
build-type: Simple
category: Text
synopsis: Fixes whitespace issues.
description: Removes trailing whitespace, lines containing only whitespace, expands tabs,
and ensures that every file ends in a newline character.
license: MIT
license-file: LICENSE
author: fix-whitespace was originally written by Nils Anders Danielsson as part of Agda 2 with contributions from Ulf Norell, Andrés Sicard-Ramírez, Andreas Abel, Philipp Hausmann, Jesper Cockx, Vlad Semenov, Liang-Ting Chen, and Artem Pelenitsyn.
maintainer: Andreas Abel, Liang-Ting Chen <[email protected]>
homepage: https://github.com/agda/fix-whitespace
bug-reports: https://github.com/agda/fix-whitespace/issues
tested-with:
-- cabal-supported GHCs
GHC == 9.12.1
GHC == 9.10.1
GHC == 9.8.4
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
extra-doc-files:
CHANGELOG.md
README.md
fix-whitespace.yaml
-- stack-supported GHCs
stack-9.10.yaml
stack-9.8.yaml
stack-9.6.yaml
stack-9.4.yaml
stack-9.2.8.yaml
stack-9.0.2.yaml
stack-8.10.7.yaml
stack-8.8.4.yaml
stack-8.6.5.yaml
stack-8.4.4.yaml
source-repository head
type: git
location: https://github.com/agda/fix-whitespace.git
common common-build-parameters
default-language: Haskell2010
default-extensions:
LambdaCase
ScopedTypeVariables
ghc-options:
-Wall
-Wcompat
-Wmissing-import-lists
library
import: common-build-parameters
hs-source-dirs: src
exposed-modules: Data.List.Extra.Drop
Data.Text.FixWhitespace
build-depends:
base >= 4.9.0.0 && < 5
, text >= 1.2.3.0 && < 1.3 || >= 2.0 && < 2.2
, transformers >= 0.5.2.0 && < 0.7
executable fix-whitespace
import: common-build-parameters
hs-source-dirs: .
main-is: FixWhitespace.hs
other-modules: ParseConfig
Paths_fix_whitespace
autogen-modules: Paths_fix_whitespace
build-depends:
fix-whitespace
, base
, text
-- non-inherited dependencies:
, directory >= 1.2.6.2 && < 1.4
, extra >= 1.1 && < 2
, filepath >= 1.4.1.0 && < 1.6
, filepattern >= 0.1.3 && < 0.2
-- filepattern 0.1.3 fixes issue fix-whitespace#9
, yaml >= 0.8.4 && < 0.12
test-suite QuickCheck
import: common-build-parameters
hs-source-dirs: test
main-is: QuickCheck.hs
type: exitcode-stdio-1.0
build-depends:
fix-whitespace
, base
-- non-inherited dependencies
, QuickCheck
, tasty
, tasty-quickcheck
test-suite Golden
import: common-build-parameters
hs-source-dirs: test
main-is: Golden.hs
type: exitcode-stdio-1.0
build-depends:
fix-whitespace
, base
, filepath
, text
-- non-inherited dependencies
, bytestring
, tasty
, tasty-golden