name: anitomata-aseprite
version: 0.1.1.2
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: Code gen for Aseprite animations
description: |
@anitomata@ Haskell code generation for Aseprite animations.
category: Game
extra-source-files:
- CHANGELOG.md
- LICENSE
- package.yaml
- README.md
- images/aseprite-tags.png
language: GHC2021
default-extensions:
- BlockArguments
- DerivingVia
- LambdaCase
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:
- aeson >= 2.1.2.1 && <2.3
- base >= 4.17 && <4.21
- directory >= 1.3.7.1 && <1.4
- filepath >= 1.4.2.2 && <1.6
- module-munging >= 0.1 && <0.2
- optparse-applicative >= 0.17.1.0 && <0.19
- text >=2.0.2 && <2.2
source-dirs: library
tests:
anitomata-aseprite-test-suite:
source-dirs: test-suite
main: Driver.hs
build-tools:
- hspec-discover
dependencies:
- anitomata-aseprite
- base
- file-embed
- hspec
- hspec-golden
- template-haskell
- temporary
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts "-N"
executables:
aseprite2haskell:
source-dirs: executables/aseprite2haskell
main: Main.hs
dependencies:
- anitomata-aseprite
- base
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts "-N"