-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.yaml
110 lines (102 loc) · 1.87 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
name: smoke
version: 2.4.0
github: SamirTalwar/smoke
license: MIT
author: Samir Talwar
maintainer: [email protected]
copyright: Samir Talwar
extra-source-files:
- README.md
synopsis: An integration test framework for console applications.
category: Testing
description: Please see README.md
language: GHC2021
default-extensions:
- DataKinds
dependencies:
- base >= 4.16 && < 5
- aeson
- containers
- data-default
- directory
- exceptions
- filepath
- Glob
- process
- process-extras
- tar
- temporary
- text
- transformers
- vector
- yaml
library:
source-dirs:
- src/lib
exposed-modules:
- Test.Smoke
- Test.Smoke.Paths
ghc-options:
- -Wall
- -Werror
- -Wno-unticked-promoted-constructors
when:
condition: os(windows)
then:
source-dirs:
- src/lib/windows
else:
source-dirs:
- src/lib/unix
executables:
smoke:
source-dirs:
- src/app
main: Test/Smoke/App/Main.hs
dependencies:
- smoke
- ansi-terminal
- Diff
- mtl
- optparse-applicative
ghc-options:
- -Wall
- -Werror
- -Wno-unticked-promoted-constructors
- -threaded
- -rtsopts
- -with-rtsopts=-N
when:
condition: os(windows)
then:
source-dirs:
- src/app/windows
else:
source-dirs:
- src/app/unix
dependencies:
- unix
tests:
smoke-test:
main: Spec.hs
source-dirs: src/test
ghc-options:
- -Wall
- -Werror
- -Wno-unticked-promoted-constructors
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- smoke
- hedgehog
- hspec
- hspec-hedgehog
when:
condition: os(windows)
then:
source-dirs:
- src/test/windows
else:
source-dirs:
- src/test/unix