h2048-0.3.0.0: h2048.cabal
cabal-version: 1.12
name: h2048
version: 0.3.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.UI.Brick
Game.H2048.UI.Simple
Game.H2048.Utils
hs-source-dirs: src
other-modules:
Paths_h2048
default-language: Haskell2010
build-depends:
MonadRandom >=0.5.1.1 && <0.6,
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
lens >=4.17.1 && <4.18,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
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:
MonadRandom >=0.5.1.1 && <0.6,
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
h2048 -any,
lens >=4.17.1 && <4.18,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
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:
MonadRandom >=0.5.1.1 && <0.6,
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
h2048 -any,
lens >=4.17.1 && <4.18,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
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
Paths_h2048
default-language: Haskell2010
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N -main-is Spec
build-depends:
MonadRandom >=0.5.1.1 && <0.6,
base >=4.12.0.0 && <4.13,
brick >=0.47.1 && <0.48,
h2048 -any,
hspec >=2.7.1 && <2.8,
lens >=4.17.1 && <4.18,
mtl >=2.2.2 && <2.3,
text >=1.2.3.1 && <1.3,
vty >=5.25.1 && <5.26