h2048-0.4.0.0: h2048.cabal
cabal-version: 1.12
name: h2048
version: 0.4.0.0
license: MIT
license-file: LICENSE
maintainer: Javran.C@gmail.com
author: Javran Cheng
homepage: https://github.com/Javran/h2048#readme
bug-reports: https://github.com/Javran/h2048/issues
synopsis: An Implementation of Game 2048
description:
An Implementation of Game 2048, based on <https://github.com/gabrielecirulli/2048>.
category: Game
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/Javran/h2048
library
exposed-modules:
Game.H2048.Core
Game.H2048.Gameplay
Game.H2048.UI.Brick
Game.H2048.UI.Simple
hs-source-dirs: src
other-modules:
Paths_h2048
default-language: Haskell2010
build-depends:
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
containers >=0.6.0.1 && <0.7,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
tf-random ==0.5.*,
vector >=0.12.0.3 && <0.13,
vector-algorithms >=0.8.0.1 && <0.9,
vty >=5.25.1 && <5.26
executable h2048-brick
main-is: BrickUi.hs
hs-source-dirs: exe
other-modules:
Simple
Paths_h2048
default-language: Haskell2010
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N -main-is
BrickUi
build-depends:
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
containers >=0.6.0.1 && <0.7,
h2048 -any,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
tf-random ==0.5.*,
vector >=0.12.0.3 && <0.13,
vector-algorithms >=0.8.0.1 && <0.9,
vty >=5.25.1 && <5.26
executable h2048-simple
main-is: Simple.hs
hs-source-dirs: exe
other-modules:
BrickUi
Paths_h2048
default-language: Haskell2010
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N -main-is
Simple
build-depends:
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
containers >=0.6.0.1 && <0.7,
h2048 -any,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
tf-random ==0.5.*,
vector >=0.12.0.3 && <0.13,
vector-algorithms >=0.8.0.1 && <0.9,
vty >=5.25.1 && <5.26
test-suite hspec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Game.H2048.CoreSpec
Game.H2048.GameplaySpec
Paths_h2048
default-language: Haskell2010
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N -main-is Spec
build-depends:
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
containers >=0.6.0.1 && <0.7,
h2048 -any,
hspec >=2.7.1 && <2.8,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
tf-random ==0.5.*,
vector >=0.12.0.3 && <0.13,
vector-algorithms >=0.8.0.1 && <0.9,
vty >=5.25.1 && <5.26