-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
100 lines (100 loc) · 2.25 KB
/
package.yaml
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
name: checkmate
version: '0.4.1'
synopsis: Generate checklists relevant to a given patch
category: Development
author: Hong Minhee
maintainer: hong.minhee@gmail.com
copyright: "\xa9 2017\u20132018 Hong Minhee"
license: AGPL-3
github: dahlia/checkmate
stability: alpha
extra-source-files:
- README.md
- CHANGELOG.md
dependencies:
- base >= 4.7 && < 5
- diff-parse >= 0.2.1 && < 0.3.0
- directory == 1.3.*
- filepath >= 1.4.1.1 && < 2.0.0
- megaparsec == 6.5.*
- text == 1.*
flags:
static:
description: Static link
manual: true
default: false
when:
- condition: os(darwin)
else:
ghc-options:
- -Werror
then:
ghc-options:
- -Werror
- -optP-Wno-nonportable-include-path
# The above option works around https://github.com/haskell/cabal/issues/4739
library:
source-dirs: src
dependencies:
- containers >= 0.5.7.1 && < 0.6.0.0
- github == 0.19.*
- monad-parallel >= 0.7.2.2 && < 0.8.0.0
ghc-options:
- -Wall
- -fwarn-incomplete-uni-patterns
executables:
checkmate:
main: Main.hs
source-dirs: app
dependencies:
- checkmate
- optparse-applicative >= 0.13.2.0 && < 0.15.0.0
- process >= 1.6.1.0 && < 1.7.0.0
when:
- condition: flag(static)
then:
ghc-options:
- -Wall
- -fwarn-incomplete-uni-patterns
- -threaded
- -rtsopts
- -with-rtsopts=-N
# Static link
- -static
- -optl-static
- -optl-pthread
- -optc-Os
- -fPIC
else:
ghc-options:
- -Wall
- -fwarn-incomplete-uni-patterns
- -threaded
- -rtsopts
- -with-rtsopts=-N
tests:
spec:
main: Main.hs
source-dirs: test
dependencies:
- bytestring >= 0.10.8.1 && < 0.11
- checkmate
- file-embed >= 0.0.10 && < 0.1.0
- hspec >= 2.4.4 && < 3.0.0
- hspec-megaparsec >= 1.0.0 && < 1.1.0
- interpolatedstring-perl6 == 1.*
- QuickCheck >= 2.9.2 && < 3.0.0
- quickcheck-text >= 0.1.2.1 && < 0.2.0.0
- temporary >= 1.2.1 && < 1.3.0.0
ghc-options:
- -Wall
- -fno-warn-incomplete-uni-patterns
- -fno-warn-missing-signatures
- -rtsopts
- -threaded
- -with-rtsopts=-N
- -Wno-orphans
hlint:
main: hlint.hs
dependencies:
- hlint >= 2.0.9 && < 3