-
Notifications
You must be signed in to change notification settings - Fork 0
/
snake.cabal
148 lines (129 loc) · 4.99 KB
/
snake.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
cabal-version: 2.4
-- cabal 3.0 is not supported by Stack yet
-- see: https://github.com/haskell/haskell-ide-engine/issues/1564
-- also it is not supported by haskell.nix
-- see: https://github.com/haskell/cabal/issues/4899
name: snake
version: 0.1.0.0
synopsis: Snake game
description: A simple snake game
license: MIT
license-file: LICENSE
author: Vasiliy Yorkin
maintainer: vasiliy.yorkin@gmail.com
copyright: 2020 Vasiliy Yorkin
build-type: Simple
extra-source-files: README.md
, CHANGELOG.md
tested-with: GHC == 8.8.3
source-repository head
type: git
location: https://github.com/vyorkin/snake.git
library
hs-source-dirs: src
exposed-modules: Snake
Snake.Game
Snake.MainLoop
Snake.Config
Snake.Window
Snake.Scene
Snake.Tick
Snake.Draw
Snake.Events
Snake.Lib
Snake.System
Snake.Math
Snake.Programs.Textured
Snake.Programs.Sprite
Snake.Programs.Solid
Snake.Components
Snake.Components.Programs
Snake.Components.Textures
Snake.Components.Delayed.Types
Snake.Components.Delayed.System
Snake.Components.Level.System
Snake.Components.Time.System
Snake.Components.Snake.System
Snake.Components.Snake.Draw
Snake.Components.Food.System
Snake.Components.Food.Draw
-- Snake.Components.Hole
-- Snake.Components.Bomb
Graphics.Rendering.OpenGL.Extra
build-depends: base ^>= 4.13
, text ^>= 1.2
, bytestring ^>= 0.10
, containers ^>= 0.6
, unordered-containers ^>= 0.2
, vector ^>= 0.12
, linear ^>= 1.21
, sdl2 ^>= 2.5
, sdl2-image ^>= 2.0
, OpenGL ^>= 3.0
, StateVar ^>= 1.2
, mwc-probability ^>= 2.2
, apecs ^>= 0.9
-- sumbodule in vendors/apecs-random
, apecs-random
, tomland ^>= 1.2
, lens ^>= 4.18
, filepath ^>= 1.4
, directory ^>= 1.3
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-fhide-source-paths
-Wpartial-fields
-- -Wunused-packages
default-language: Haskell2010
default-extensions: ConstraintKinds
DeriveGeneric
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
ViewPatterns
NoStarIsType
BlockArguments
executable snake
hs-source-dirs: app
main-is: Main.hs
build-depends: base
, snake
ghc-options: -Wall
-threaded
-eventlog
-rtsopts
-with-rtsopts=-N
-with-rtsopts=-qn1
-with-rtsopts=-A128m
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-fhide-source-paths
-Wpartial-fields
default-language: Haskell2010
default-extensions: ConstraintKinds
DeriveGeneric
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
ViewPatterns