-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.yaml
112 lines (103 loc) · 2.29 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
101
102
103
104
105
106
107
108
109
110
111
112
name: hspec-junit-formatter
version: 1.1.2.1
github: "freckle/hspec-junit-formatter"
license: MIT
author: "Freckle R&D"
maintainer: "[email protected]"
copyright: "2021 Renaissance Learning Inc"
extra-doc-files:
- README.md
- CHANGELOG.md
extra-source-files:
- tests/golden/**/*.xml
category: Testing
synopsis: A JUnit XML runner/formatter for hspec
description: |
Allows hspec tests to write JUnit XML output for parsing in various tools.
ghc-options:
- -fignore-optim-changes
- -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.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
- 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: library
dependencies:
- array
- conduit
- containers
- directory
- exceptions
- filepath
- hspec-api
- hspec-core >= 2.10.0 # modifyConfig
- iso8601-time
- regex-base
- regex-tdfa
- text
- time
- xml-conduit
- xml-types
tests:
spec:
main: Spec.hs
source-dirs: tests
ghc-options: -threaded -rtsopts -O0 "-with-rtsopts=-N"
dependencies:
- containers
- filepath
- hspec
- hspec-golden
- hspec-junit-formatter
- temporary
- text
- xml-conduit
readme:
main: README.lhs
ghc-options: -pgmL markdown-unlit
dependencies:
- hspec
- hspec-junit-formatter
- markdown-unlit