-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfortytwo.cabal
80 lines (74 loc) · 2.6 KB
/
fortytwo.cabal
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
name: fortytwo
version:2.0.0
synopsis: Interactive terminal prompt
description: List of Prompt helpers to pimp the UIs of your haskell programs
homepage: https://github.com/gianlucaguarini/fortytwo#readme
license: MIT
license-file: LICENSE
author: Gianluca Guarini
maintainer: [email protected]
copyright: Gianluca Guarini
category: Prompt
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
flag demos
description: Build with demos
default: False
library
hs-source-dirs: src
exposed-modules: FortyTwo,
FortyTwo.Types,
FortyTwo.Constants,
FortyTwo.Utils,
FortyTwo.TheAnswerToEverything,
FortyTwo.Prompts.Input,
FortyTwo.Prompts.Confirm,
FortyTwo.Prompts.Password,
FortyTwo.Prompts.Select,
FortyTwo.Prompts.Multiselect,
FortyTwo.Renderers.Question,
FortyTwo.Renderers.Password,
FortyTwo.Renderers.Confirm,
FortyTwo.Renderers.Select
FortyTwo.Renderers.Multiselect
build-depends: base >= 4.7 && < 5,
text < 2.1,
ansi-terminal >= 0.6.0.0 && < 1.1
default-language: Haskell2010
executable demo
main-is: Main.hs
other-modules: InputExample,
ConfirmExample,
PasswordExample,
SelectExample,
MultiselectExample
hs-source-dirs: demo
build-depends: base >= 4.7 && < 5,
fortytwo
default-language: Haskell2010
if flag(demos)
buildable: True
else
buildable: False
Test-Suite spec
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Main.hs
other-modules: Specs.Core,
Specs.Utils
hs-source-dirs: test
build-depends: fortytwo,
base >= 4.7 && < 5,
hspec >= 2.6.1
Test-Suite doctest
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: doctests.hs
hs-source-dirs: test
build-depends: fortytwo,
base >= 4.7 && < 5,
doctest >= 0.16.0.1
source-repository head
type: git
location: https://github.com/gianlucaguarini/fortytwo