-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path7startups.cabal
129 lines (118 loc) · 4.51 KB
/
7startups.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
-- Initial 7startups.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: 7startups
version: 0.1.0
synopsis: A tutorial on advanced Haskell features, using a 7 Wonders clone as an example.
-- description:
homepage: http://lpuppet.banquise.net/
license: BSD3
license-file: LICENSE
author: Simon Marechal
maintainer: bartavelle@gmail.com
-- copyright:
category: Game
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
Flag xmpp
Description: enable the XMPP backend
Manual: True
Default: False
Flag console
Description: enable the console backend
Manual: True
Default: False
Flag irc
Description: enable the irc backend
Manual: True
Default: False
library
hs-source-dirs: src
exposed-modules: Startups.CardList,
Startups.Base,
Startups.Cards,
Startups.GameTypes,
Startups.Utils,
Startups.Game,
Startups.PrettyPrint,
Startups.Interpreter,
Startups.Json,
Startups.Exported,
Backends.Pure,
Backends.Common,
Backends.Hub,
Backends.GenericHub,
Strategies.Random,
Strategies.Compose,
Strategies.Bot1
STM.Promise
RMultiSet
MVC
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
ghc-prof-options: -auto-all -caf-all
other-extensions: OverloadedStrings, GeneralizedNewtypeDeriving
build-depends: base >=4.9 && <5,
containers >=0.5 && <0.7,
text >=1.1 && <1.3,
lens >= 4.7 && < 5,
mtl,
vector,
random == 1.*,
split == 0.2.*,
operational == 0.2.*,
semigroups >= 0.13 && < 0.19,
stm >= 2.4 && < 2.6,
xml-types == 0.3.*,
network >= 2.4 && < 2.9,
attoparsec >= 0.12 && < 0.14,
yaml >= 0.8 && < 0.12,
directory == 1.3.*,
ansi-wl-pprint == 0.6.*,
transformers == 0.5.*,
aeson,
elm-bridge,
stateWriter,
-- MVC
pipes, pipes-concurrency, foldl, managed, mmorph
-- hs-source-dirs:
default-language: Haskell2010
Benchmark multiset
hs-source-dirs: bench
type: exitcode-stdio-1.0
ghc-options: -Wall
build-depends: 7startups, base, multiset, criterion
main-is: multiset.hs
default-language: Haskell2010
Test-Suite tests
hs-source-dirs: tests
type: exitcode-stdio-1.0
ghc-options: -Wall
other-extensions: OverloadedStrings
build-depends: 7startups, base, containers, hspec, QuickCheck, lens, text, random, mtl, transformers, multiset
main-is: tests.hs
default-language: Haskell2010
Executable console
buildable: False
if flag(console)
buildable: True
hs-source-dirs: app
main-is: Console.hs
ghc-options: -Wall
build-depends: base, 7startups, random, ansi-wl-pprint, lens, semigroups
default-language: Haskell2010
Executable xmpp
buildable: False
if flag(xmpp)
buildable: True
hs-source-dirs: app
main-is: Xmpp.hs
other-modules: Xmpp.Backend
ghc-options: -Wall
build-depends: base, 7startups, text, pontarius-xmpp == 0.5.*, lens, containers, yaml, directory, network, xml-types, stm, ansi-wl-pprint, attoparsec, tls
default-language: Haskell2010
Executable testia
hs-source-dirs: app
main-is: TestIA.hs
ghc-options: -Wall -threaded
build-depends: base, 7startups, lens, containers, random, parallel
default-language: Haskell2010