packages feed

aeson-tiled-0.0.1.0: aeson-tiled.cabal

name:                aeson-tiled
version:             0.0.1.0
synopsis:            Aeson instances for the Tiled map editor.
description:         The mighty Tiled 2D map editor is an open source
                     app for creating tile based level maps. This package provides
                     types and aeson instances to read Tiled json files.
homepage:            https://github.com/haskell-game/aeson-tiled
license:             BSD3
license-file:        LICENSE
maintainer:          aenor.realm@gmai.com
author:              Schell Scivally
copyright:           (c) 2017 Schell Scivally
category:            Game Engine
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:
  README.md,
  ChangeLog.md

library
  hs-source-dirs:      src
  exposed-modules:     Data.Aeson.Tiled
  build-depends:       base       >= 4.7 && < 5
                     , bytestring >= 0.10 && < 1
                     , aeson      >= 1.0 && < 3
                     , containers >= 0.5 && < 1
                     , text       >= 1.2 && < 3
                     , vector     >= 0.11 && < 1
  default-language:    Haskell2010

flag tests
  manual: True
  default: False

test-suite aeson-tiled-test
  if !flag(tests)
    buildable: False
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , aeson >= 1.1
                     , aeson-tiled
                     , hspec
                     , hspec-discover
                     , bytestring
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010
  other-modules:
    ParseObjectSpec
    RoundTripSpec