2023-10-11 19:53:20 +02:00
|
|
|
name: rpg
|
|
|
|
version: 0.1.0.0
|
|
|
|
github: "githubuser/rpg"
|
|
|
|
license: BSD-3-Clause
|
|
|
|
author: "Author name here"
|
|
|
|
maintainer: "example@example.com"
|
|
|
|
copyright: "2023 Author name here"
|
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
- CHANGELOG.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: Please see the README on GitHub at <https://github.com/githubuser/rpg#readme>
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
|
|
|
- h-raylib
|
|
|
|
- effectful
|
2024-01-01 23:40:23 +01:00
|
|
|
- effectful-core
|
2023-10-11 19:53:20 +02:00
|
|
|
- bytestring
|
|
|
|
- text
|
|
|
|
- lens
|
2023-10-12 20:29:21 +02:00
|
|
|
- apecs
|
2023-10-11 19:53:20 +02:00
|
|
|
- apecs-effectful
|
2023-10-12 20:29:21 +02:00
|
|
|
- linear
|
2023-10-11 19:53:20 +02:00
|
|
|
- extra
|
2023-10-12 20:29:21 +02:00
|
|
|
- vector
|
2024-01-03 22:40:30 +01:00
|
|
|
- mtl
|
|
|
|
- unordered-containers
|
2024-01-22 22:36:47 +01:00
|
|
|
- primitive
|
|
|
|
- containers
|
|
|
|
- GLFW-b
|
|
|
|
- OpenGL
|
2024-01-26 20:17:53 +01:00
|
|
|
- derive-storable
|
|
|
|
- derive-storable-plugin
|
2024-01-27 16:59:04 +01:00
|
|
|
- template-haskell
|
2024-01-01 23:40:23 +01:00
|
|
|
|
2023-10-11 19:53:20 +02:00
|
|
|
language: GHC2021
|
|
|
|
default-extensions:
|
|
|
|
- OverloadedStrings
|
|
|
|
- DuplicateRecordFields
|
|
|
|
- BlockArguments
|
|
|
|
- OverloadedRecordDot
|
|
|
|
- NoFieldSelectors
|
|
|
|
- TemplateHaskell
|
|
|
|
- LambdaCase
|
|
|
|
|
|
|
|
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
|
2024-01-26 20:17:53 +01:00
|
|
|
c-sources: cbits/*.c
|
|
|
|
include-dirs: cbits
|
2023-10-11 19:53:20 +02:00
|
|
|
|
|
|
|
executables:
|
|
|
|
rpg-exe:
|
|
|
|
main: Main.hs
|
2024-01-03 22:40:30 +01:00
|
|
|
source-dirs: rpg
|
2023-10-11 19:53:20 +02:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
|
|
|
- rpg
|
|
|
|
|
2024-01-01 23:40:23 +01:00
|
|
|
minkowski:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: minkowski
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
|
|
|
- rpg
|
|
|
|
|
2023-10-11 22:14:07 +02:00
|
|
|
pong:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: pong
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
|
|
|
- rpg
|
|
|
|
|
2023-10-11 19:53:20 +02:00
|
|
|
tests:
|
|
|
|
rpg-test:
|
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
|
|
|
- rpg
|