packages feed

anitomata-0.1.0.3: package.yaml

name: anitomata
version: 0.1.0.3
homepage: https://sr.ht/~jship/anitomata/
git: https://git.sr.ht/~jship/anitomata/
license: MIT
license-file: LICENSE
author: Jason Shipman
maintainer: Jason Shipman
synopsis: Composable sprite animation
description: |
  Composable 2D sprite animation in Haskell.
category: Game

extra-source-files:
- CHANGELOG.md
- LICENSE
- package.yaml
- README.md

language: GHC2021

ghc-options:
# Draws heavy inspiration from this list: https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
- -Weverything
- -Wno-missing-local-signatures # Warns if polymorphic local bindings do not have signatures
- -Wno-missing-exported-signatures # missing-exported-signatures turns off the more strict -Wmissing-signatures. See https://ghc.haskell.org/trac/ghc/ticket/14794#ticket
- -Wno-missing-import-lists # Requires explicit imports of _every_ function (e.g. ‘$’); too strict
- -Wno-missed-specializations # When GHC can’t specialize a polymorphic function
- -Wno-all-missed-specializations # See missed-specializations
- -Wno-unsafe # Don’t use Safe Haskell warnings
- -Wno-safe # Don’t use Safe Haskell warnings
- -Wno-missing-safe-haskell-mode # Don't warn if the Safe Haskell mode is unspecified

library:
  dependencies:
  - base >= 4.17 && <5
  - vector >= 0.13.1.0 && <0.14
  source-dirs: library

tests:
  anitomata-test-suite:
    source-dirs: test-suite
    main: Driver.hs
    build-tools:
    - hspec-discover
    dependencies:
    - QuickCheck
    - anitomata
    - base
    - hspec
    - vector
    ghc-options:
    - -rtsopts
    - -threaded
    - -with-rtsopts "-N"