maleghast-engine/package.yaml

79 lines
1.7 KiB
YAML

name: maleghast
version: 0.1.0.0
github: "githubuser/maleghast"
license: BSD-3-Clause
author: "Ember Hearth"
maintainer: "ember@corviform.gay"
copyright: "full"
extra-source-files:
- README.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: A prototype Maleghast game engine, plus a simple CLI interface.
dependencies:
- base >= 4.7 && < 5
- microlens
- safe
- microlens-th
- template-haskell
- random
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
library:
source-dirs: src
default-extensions:
- NamedFieldPuns
- TupleSections
- MonadComprehensions
- GADTs
- RankNTypes
- RecordWildCards
- TemplateHaskell
- TypeOperators
- ScopedTypeVariables
- EmptyCase
- DuplicateRecordFields
- StandaloneDeriving
executables:
maleghast-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- maleghast
- random
default-extensions:
- GADTs
tests:
maleghast-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- maleghast