minesweeper-0.9.1: minesweeper.cabal
name: minesweeper
version: 0.9.1
category: Game
synopsis: Minesweeper game which is always solvable without guessing
description:
Minesweeper game which is always solvable without guessing.
stability: alpha
license: BSD3
license-file: LICENSE
author: Péter Diviánszky
maintainer: divip@aszt.inf.elte.hu
cabal-version: >=1.4
build-type: Simple
data-files: ms.glade
extra-source-files: runInGHCi
Flag tests
Description: Enable inner project testing
Default: False
executable minesweeper
extensions:
NoMonomorphismRestriction,
EmptyDataDecls,
ScopedTypeVariables,
ExistentialQuantification,
Rank2Types,
MultiParamTypeClasses,
TypeFamilies,
NamedFieldPuns,
PatternGuards,
ViewPatterns,
FlexibleContexts,
DeriveDataTypeable,
CPP
build-depends:
base >= 3 && < 4.4,
containers >= 0.3 && < 0.5,
time >= 1.2 && < 1.3,
random >= 1.0 && < 1.1,
-- mersenne-random-pure64 == 0.2.*,
directory >= 1.0 && < 1.2,
filepath >= 1.1 && < 1.3,
binary >= 0.5 && < 0.6,
binary-generic >= 0.2 && < 0.3,
bytestring >= 0.9 && < 0.10,
gtk >= 0.11 && < 0.13,
cairo >= 0.11 && < 0.13,
glade >= 0.11 && < 0.13
if flag(tests)
build-depends:
numeric-prelude,
lazysmallcheck
CPP-Options: -DTEST
main-is:
Minesweeper.hs
other-modules:
Data.ChangeMap,
Data.ChangeSet,
Data.SetClass,
Data.Domain,
Core.SetContainer,
Core.Constraint,
Core.Constraints,
Core.Square,
Core.SquareConstraints,
Configuration,
Random,
Step,
-- with marks
Table,
Preferences,
-- with undo / redo
-- Game,
State,
State.Functions,
Event,
When,
GTK,
GTK.Square,
GTK.Preferences,
GTK.Score,
Transition,
Transition.State,
Transition.Action,
Transition.Response,
Transition.Graphics,
Transition.Managed,
Log,
Driver,
Driver.Log
Driver.Simplified
ghc-options:
-threaded
-Wall
-fno-warn-incomplete-patterns
-fno-warn-name-shadowing
-fno-warn-missing-signatures