-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.yaml
More file actions
111 lines (104 loc) · 2.18 KB
/
package.yaml
File metadata and controls
111 lines (104 loc) · 2.18 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
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
copyright: 2020 Strainge Inc.
github: pact/bounded
homepage: https://github.com/mbj/conversions#readme
license: MIT
maintainer: Allan Lukwago <epicallan.al@gmail.com>, Markus Schirp mbj@schirp-ds.com
name: bounded
synopsis: User definable Integral and Text bounded types
version: 0.0.1
flags:
development:
description: Run GHC with development flags
default: false
manual: true
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wimplicit-prelude
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-local-signatures
- -Wmissing-signatures
- -Wmonomorphism-restriction
- -Wredundant-constraints
- -fhide-source-paths
- -funbox-strict-fields
- -optP-Wno-nonportable-include-path
default-extensions:
- AllowAmbiguousTypes
- ConstraintKinds
- DataKinds
- DerivingStrategies
- DerivingVia
- FlexibleContexts
- FlexibleInstances
- GeneralizedNewtypeDeriving
- ExistentialQuantification
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NoImplicitPrelude
- OverloadedStrings
- PolyKinds
- RecordWildCards
- ScopedTypeVariables
- StrictData
- TypeApplications
- TypeFamilies
- TypeOperators
- ViewPatterns
library:
source-dirs: src
dependencies:
- base >= 4.10 && < 4.15
- aeson >= 1.3
- cassava
- conversions >= 0.0.2
- mtl
- scientific
- symbols
- text >= 1.2
when:
- condition: flag(development)
then:
ghc-options:
- -Werror
- -fplugin=SourceConstraints
dependencies:
- source-constraints ^>= 0.0.2
else:
ghc-options: -Wwarn
tests:
test:
main: Test.hs
source-dirs: test
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
dependencies:
- aeson >= 1.3
- base
- bounded
- should-not-typecheck
- source-constraints ^>= 0.0.2
- tasty
- tasty-hunit
- type-spec
- devtools >= 0.1.0
readme:
main: README.lhs
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
- -pgmL markdown-unlit
- -Wno-unused-top-binds
dependencies:
- base
- bounded
- markdown-unlit
- text
build-tool-depends: markdown-unlit:markdown-unlit