-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcabal-bounds.cabal
132 lines (123 loc) · 4.24 KB
/
cabal-bounds.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
cabal-version: >=1.10.0
name: cabal-bounds
version: 2.6.0
license: BSD3
license-file: LICENSE
maintainer: [email protected]
author: Daniel Trstenjak
tested-with:
ghc ==7.6.2 ghc ==7.6.3 ghc ==7.8.3 ghc ==7.10.1 ghc ==8.0.1
ghc ==8.2.1 ghc ==8.4.2 ghc ==8.6.3 ghc ==8.10.1 ghc ==9.4.7
ghc ==9.8.2
synopsis:
A command line program for managing the dependency versions in a cabal file.
description:
A command line program for managing the bounds/versions of the dependencies in a cabal file.
.
'cabal-bounds' is able to do these things with the bounds of the dependencies in the cabal file:
.
* drop them
.
* update them by the library versions of the current cabal build
.
* update them by the library versions of a haskell platform release
.
* update them by the library versions specified by a file
.
* dump the libraries/dependencies and their lower bound versions from the cabal file(s) into a file
.
For further details please consult the <https://github.com/dan-t/cabal-bounds README>.
.
/Issues/
.
Perhaps the currently most annoying thing is, that you have to live with the reformating of your
'cabal' file done by the pretty printer of the 'Cabal' library.
.
To only reformat your `cabal` file you can call `cabal-bounds format`.
category: Utils, Development
build-type: Simple
extra-source-files:
README.md
CHANGELOG
tests/inputFiles/FromFile.hs
tests/inputFiles/hp-original.cabal
tests/inputFiles/missing-original.cabal
tests/inputFiles/original.cabal
tests/inputFiles/plan.json
tests/inputFiles/.gitignore
tests/inputFiles/setup-config-build-env/setup-config.cabal
tests/inputFiles/setup-config-build-env/src/*.hs
tests/inputFiles/setup-config-build-env/src/CabalBounds/*.hs
tests/inputFiles/setup-config-build-env/libs/A/A.cabal
tests/inputFiles/setup-config-build-env/libs/A/A.hs
tests/inputFiles/setup-config-build-env/libs/B/B.cabal
tests/inputFiles/setup-config-build-env/libs/B/B.hs
tests/inputFiles/setup-config-build-env/libs/C/C.cabal
tests/inputFiles/setup-config-build-env/libs/C/C.hs
tests/inputFiles/setup-config-build-env/libs/D/D.cabal
tests/inputFiles/setup-config-build-env/libs/D/D.hs
tests/goldenFiles/*.cabal
tests/goldenFiles/*.hs
tests/goldenFiles/PlanFile/*.hs
tests/outputFiles/SetupConfig/.gitignore
tests/outputFiles/PlanFile/.gitignore
source-repository head
type: git
location: https://github.com/dan-t/cabal-bounds
library
exposed-modules:
CabalBounds.Args
CabalBounds.Main
CabalBounds.VersionComp
cpp-options: -DCABAL
hs-source-dirs: lib
other-modules:
Paths_cabal_bounds
CabalBounds.Bound
CabalBounds.Sections
CabalBounds.Dependencies
CabalBounds.Drop
CabalBounds.Update
CabalBounds.Dump
CabalBounds.HaskellPlatform
CabalBounds.Types
default-language: Haskell2010
ghc-options: -W
build-depends:
base >=4.6.0.0 && <5,
cmdargs >=0.10.5 && <0.11,
lens >=4.0.1 && <6.0,
strict >=0.3.2 && <0.6,
unordered-containers >=0.2.3.3 && <0.3,
transformers >=0.3.0.0 && <0.7,
cabal-lenses >=0.15.0 && <1.0,
Cabal >=3.14 && <4.0,
filepath >=1.3 && <1.6,
directory >=1.2 && <1.4,
aeson >=1.2.3.0 && <2.3,
lens-aeson >=1.0.2 && <1.3,
bytestring >=0.10.8.2 && <1.0,
text >=1.1.0.1 && <2.2
executable cabal-bounds
main-is: Main.hs
hs-source-dirs: exe
default-language: Haskell2010
ghc-options: -W
build-depends:
base >=3 && <5,
cabal-bounds -any
test-suite cabal-bounds-tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests
default-language: Haskell2010
ghc-options: -W
build-depends:
base >=3 && <5,
tasty >=0.9.0.1 && <1.6,
tasty-golden >=2.2.0.2 && <2.4,
process >=1.1.0.2 && <1.7,
filepath >=1.3 && <1.6,
directory >=1.2 && <1.4,
Glob >=0.7 && <0.11,
cabal-bounds -any