-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathfree-game.cabal
105 lines (92 loc) · 2.37 KB
/
free-game.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
cabal-version: 3.0
name: free-game
version: 1.2
synopsis: Create games for free
description:
free-game defines a monad that integrates features to create 2D games.
.
Twitter: #hs_free_game
homepage: https://github.com/fumieval/free-game
bug-reports: https://github.com/fumieval/free-game/issues
license: BSD-3-Clause
license-file: LICENSE
author: Fumiaki Kinoshita
maintainer: Fumiaki Kinoshita <[email protected]>
copyright: Copyright (C) 2012-2022 Fumiaki Kinoshita
category: Graphics, Monads
build-type: Simple
stability: experimental
extra-source-files:
CHANGELOG.md
examples/*.hs
examples/*.png
examples/*.ttf
source-repository head
type: git
location: https://github.com/fumieval/free-game.git
flag build-example
default: False
manual: True
library
default-language: Haskell2010
exposed-modules:
FreeGame
FreeGame.Class
FreeGame.Data.Bitmap
FreeGame.Data.Font
FreeGame.Text
FreeGame.UI
FreeGame.Instances
FreeGame.Backend.GLFW
FreeGame.Internal.GLFW
FreeGame.Types
FreeGame.Util
ghc-options: -Wall -fexcess-precision -O2
default-extensions: FlexibleContexts, FlexibleInstances, CPP
build-depends:
array >= 0.4,
base == 4.*,
colors == 0.3.*,
containers >= 0.4,
control-bool,
directory >= 1.0,
filepath >= 1.3,
free,
freetype2 ^>= 0.1,
GLFW-b >= 1.3 && <2,
hashable >= 1.2,
JuicyPixels,
JuicyPixels-util >=0.1.1 && < 0.3,
linear >= 1.0 && < 2,
mtl >= 2.2 && <4,
OpenGL >= 3 && <4,
OpenGLRaw,
random == 1.*,
StateVar,
template-haskell,
transformers >= 0.3,
vector,
void >= 0.5,
boundingboxes >= 0.2 && < 0.4,
lens >= 5.2,
resourcet
common example
if flag(build-example)
buildable: True
else
buildable: False
build-depends: base, free-game, mtl, lens, transformers
hs-source-dirs: examples
default-language: Haskell2010
executable demo
import: example
main-is: demo.hs
executable demo-stateful
import: example
main-is: demo_stateful.hs
executable fib
import: example
main-is: fib.hs
executable helloworld
import: example
main-is: helloworld.hs