-
Notifications
You must be signed in to change notification settings - Fork 7
/
flatris.cabal
115 lines (110 loc) · 3.4 KB
/
flatris.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
name: flatris
version: 0.1.0.0
-- synopsis:
-- description:
license: GPL-3
license-file: LICENSE
author: Rodney Lorrimar
maintainer: [email protected]
-- copyright:
category: Game
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
flag reflex
description: Build the reflex app
default: True
library
hs-source-dirs: src
exposed-modules: Board
, BoardUtil
, BoardDiagram
, Game
, Tango
build-depends: array
, base >=4.9 && <4.10
, diagrams-lib
, diagrams-svg
, extra
, lens
, mtl
, random
, text
, transformers
, time
, colour
default-language: Haskell2010
default-extensions: OverloadedStrings
, TemplateHaskell
, DeriveGeneric
, RecursiveDo
, ScopedTypeVariables
ghc-options: -Wall
if impl(ghcjs)
ghc-options: -Wall -dedupe
cpp-options: -DGHCJS_BROWSER
executable flatris-reflex
if flag(reflex)
buildable: True
else
buildable: False
hs-source-dirs: app-reflex
main-is: Main.hs
other-modules: Network
, BoardWidget
, MainWidget
build-depends: array
, base
, containers
, diagrams-lib
, extra
, file-embed
, flatris
, ghcjs-dom
, lens
, mtl
, random
, reflex
, reflex-dom-core
, reflex-dom
, reflex-dom-contrib
, text
, time
, transformers
, colour
, jsaddle
, jsaddle-warp
, warp
, wai-app-static
, websockets
default-extensions: OverloadedStrings
, TemplateHaskell
, RecursiveDo
, ScopedTypeVariables
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
if impl(ghcjs)
ghc-options: -dedupe
cpp-options: -DGHCJS_BROWSER
test-suite flatris-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Tests.hs
build-depends: HUnit
, QuickCheck
, array
, base
, bytestring
, extra
, flatris
, lens
, quickcheck-instances
, random
, tasty
, tasty-hunit
, tasty-quickcheck
, text
, time
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
default-extensions: OverloadedStrings