Repository navigation
Expand file tree
/
Copy pathpackage.yaml
More file actions
71 lines (62 loc) · 2.05 KB
/
Copy pathpackage.yaml
File metadata and controls
71 lines (62 loc) · 2.05 KB
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
name: optparse-repl
version: 0.1.0.3
github: "flipstone/optparse-repl"
license: MIT
author: "Flipstone Technology Partners"
maintainer: "development@flipstone.com"
copyright: "2023"
extra-source-files:
- README.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/githubuser/optparse-repl#readme>
tested-with:
GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.8, GHC == 9.4.8, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.2
dependencies:
- base >= 4.7 && < 5
- isocline >= 1.0 && < 1.1
- optparse-applicative >= 0.16 && < 0.19
- safe-exceptions >= 0.1 && < 0.2
flags:
strict:
description: More strict ghc options used for development and ci, not intended for end-use.
manual: true
default: false
when:
- condition: flag(strict)
then:
ghc-options:
- -Weverything
- -Werror
- -Wno-missing-local-signatures
- -Wno-monomorphism-restriction
- -Wno-prepositive-qualified-module
- -Wno-implicit-prelude
- -Wno-safe
- -Wno-unsafe
- -Wno-missing-safe-haskell-mode
- -Wno-missing-deriving-strategies
- -Wno-all-missed-specialisations
- -Wno-missed-specialisations
when:
- condition: impl (ghc >= 9.2)
ghc-options:
- -Wno-missing-kind-signatures
- condition: impl (ghc >= 9.8)
ghc-options:
- -Wno-missing-role-annotations
- -Wno-missing-poly-kind-signatures
- condition: impl (ghc >= 9.10)
ghc-options:
- -Wno-defaulted-exception-context
else:
ghc-options:
- -Wall
library:
source-dirs: src
exposed-modules:
- Options.Applicative.Repl