forked from CGenie/haskell-snake
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnake.cabal
More file actions
81 lines (62 loc) · 2.43 KB
/
snake.cabal
File metadata and controls
81 lines (62 loc) · 2.43 KB
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
-- Initial snake.cabal generated by cabal init. For further documentation,
-- see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: snake
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: Snake game using the SDL library
-- A longer description of the package.
description: Simple snake game that uses the SDL libary
-- The license under which the package is released.
license: GPL-3
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Przemyslaw Kaminski
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: cgenie@gmail.com
-- A copyright notice.
-- copyright:
category: Game
build-type: Custom
Extra-source-files:
mainc.c
MainWrapper_stub.h
MainWrapper.hs
SDLTemplate.hs
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.8
source-repository head
type: git
location: https://github.com/CGenie/haskell-snake.git
tag: 0.1.0.0
executable snake
-- .hs or .lhs file containing the Main module.
hs-source-dirs: src
main-is: MainWrapper.hs
ghc-options: -no-hs-main
c-sources: mainc.c
include-dirs: /usr/local/include/SDL
-- Modules included in this executable, other than Main.
other-modules: Basic, Board, Game, Snake
-- Other library packages from which modules are imported.
build-depends: base >=4.5.0.0 && <= 6,
SDL >= 0.6.3 && < 1,
mtl >= 2.1.1 && < 4,
containers >= 0.4.2.1 && < 2,
random -any
Test-suite snake-test
Hs-Source-Dirs: Tests, src, .
Main-Is: testsuite.hs
other-modules: TestSnake
Type: exitcode-stdio-1.0
build-depends: base,
QuickCheck >= 2.5.1,
containers >= 0.5.2