forked from chshersh/iris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiris.cabal
140 lines (125 loc) · 3.96 KB
/
iris.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
cabal-version: 3.0
name: iris
version: 0.0.0.0
synopsis: Haskell CLI framework
description:
Haskell CLI framework.
See [README.md](https://github.com/chshersh/iris#iris) for more details.
homepage: https://github.com/chshersh/iris
bug-reports: https://github.com/chshersh/iris/issues
license: MPL-2.0
license-file: LICENSE
author: Dmitrii Kovanikov
maintainer: Dmitrii Kovanikov <[email protected]>
copyright: 2022 Dmitrii Kovanikov
category: CLI,Framework
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
tested-with: GHC == 9.2.4
GHC == 9.0.2
GHC == 8.10.7
source-repository head
type: git
location: https://github.com/chshersh/iris.git
common common-options
build-depends: base >= 4.14 && < 4.17
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
-Wnoncanonical-monad-instances
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
-fwrite-ide-info
-hiedir=.hie
if impl(ghc >= 8.10)
ghc-options: -Wunused-packages
if impl(ghc >= 9.0)
ghc-options: -Winvalid-haddock
if impl(ghc >= 9.2)
ghc-options: -Wredundant-bang-patterns
-Woperator-whitespace
default-language: Haskell2010
default-extensions: ConstraintKinds
DeriveAnyClass
DeriveGeneric
DerivingStrategies
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
StrictData
TupleSections
TypeApplications
ViewPatterns
library
import: common-options
hs-source-dirs: src
exposed-modules:
Iris
Iris.App
Iris.Browse
Iris.Cli
Iris.Cli.Browse
Iris.Cli.Internal
Iris.Cli.Interactive
Iris.Cli.ParserInfo
Iris.Cli.Version
Iris.Colour
Iris.Colour.Formatting
Iris.Colour.Mode
Iris.Env
Iris.Settings
Iris.Tool
build-depends:
, ansi-terminal ^>= 0.11
, directory ^>= 1.3
, bytestring >= 0.10 && < 0.12
, mtl >= 2.2 && < 2.4
, optparse-applicative ^>= 0.17
, process ^>= 1.6
, text >= 1.2 && < 2.1
, unliftio-core ^>= 0.2
executable iris-example
import: common-options
hs-source-dirs: app
main-is: Main.hs
autogen-modules: Paths_iris
other-modules: Paths_iris
build-depends:
, iris
, colourista ^>= 0.1
, mtl
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
test-suite iris-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Test.Iris
Test.Iris.Tool
Test.Iris.Cli
Paths_iris
build-depends:
, iris
, hspec >= 2.9.7 && < 2.11
, text
, optparse-applicative
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N