-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
94 lines (84 loc) · 2.04 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
name: haskell-library-template
version: 0.0.0.0
maintainer: Freckle Education
category: Utils
github: freckle/haskell-library-template
synopsis: Short synopsis here
description: |
Longer description here
Haddocks are more valuable if you reproduce the main README example here, but
you can also just direct users to the README if you prefer not to take on that
duplication burden.
extra-doc-files:
- README.md
- CHANGELOG.md
extra-source-files:
- package.yaml
ghc-options:
- -Weverything
- -Wno-all-missed-specialisations
- -Wno-missed-specialisations
- -Wno-missing-exported-signatures # re-enables missing-signatures
- -Wno-missing-import-lists
- -Wno-missing-local-signatures
- -Wno-monomorphism-restriction
- -Wno-safe
- -Wno-unsafe
when:
- condition: "impl(ghc >= 9.8)"
ghc-options:
- -Wno-missing-role-annotations
- -Wno-missing-poly-kind-signatures
- condition: "impl(ghc >= 9.2)"
ghc-options:
- -Wno-missing-kind-signatures
- condition: "impl(ghc >= 8.10)"
ghc-options:
- -Wno-missing-safe-haskell-mode
- -Wno-prepositive-qualified-module
- condition: "impl(ghc >= 8.8)"
ghc-options:
- -fwrite-ide-info
dependencies:
- base < 5
default-extensions:
- BangPatterns
- DataKinds
- DeriveAnyClass
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- DerivingStrategies
- FlexibleContexts
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- LambdaCase
- MultiParamTypeClasses
- NoImplicitPrelude
- NoMonomorphismRestriction
- OverloadedStrings
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- TypeApplications
- TypeFamilies
library:
source-dirs: src
tests:
spec:
main: Spec.hs
source-dirs: test
ghc-options: -threaded -rtsopts "-with-rtsopts=-N"
dependencies:
#- haskell-library-template
- hspec
- hspec-junit-formatter
readme:
main: README.lhs
ghc-options: -pgmL markdown-unlit
dependencies:
- markdown-unlit