mirror of
https://github.com/fjvallarino/monomer.git
synced 2024-11-10 11:21:50 +03:00
88 lines
1.7 KiB
YAML
88 lines
1.7 KiB
YAML
name: monomer
|
|
version: 0.1.0.0
|
|
github: "fjvallarino/monomer"
|
|
license: BSD3
|
|
author: "Francisco Vallarino"
|
|
maintainer: "fjvallarino@gmail.com"
|
|
copyright: "2018 Francisco Vallarino"
|
|
|
|
extra-source-files:
|
|
- README.md
|
|
- ChangeLog.md
|
|
|
|
# Metadata used when publishing your package
|
|
# synopsis: GUI Library
|
|
# category: GUI
|
|
|
|
# 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/fjvallarino/monomer#readme>
|
|
|
|
default-extensions:
|
|
- OverloadedStrings
|
|
|
|
dependencies:
|
|
- async
|
|
- base >= 4.7 && < 5
|
|
- containers
|
|
- data-default
|
|
- extra
|
|
- lens
|
|
- mtl
|
|
- nanovg
|
|
- OpenGL
|
|
- sdl2
|
|
- stm
|
|
- text
|
|
- text-show
|
|
- unordered-containers
|
|
- vector
|
|
|
|
library:
|
|
source-dirs: src
|
|
c-sources:
|
|
- cbits/glew.c
|
|
cc-options:
|
|
- -fPIC
|
|
ghc-options:
|
|
- -fwarn-incomplete-patterns
|
|
- -O0
|
|
extra-libraries:
|
|
- GLEW
|
|
|
|
executables:
|
|
monomer-exe:
|
|
main: Main.hs
|
|
source-dirs: app
|
|
ghc-options:
|
|
- -fwarn-incomplete-patterns
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -with-rtsopts=-T
|
|
- -O0
|
|
|
|
dependencies:
|
|
- ekg
|
|
- lens
|
|
- monomer
|
|
|
|
tests:
|
|
monomer-test:
|
|
main: Spec.hs
|
|
source-dirs: test/unit
|
|
ghc-options:
|
|
- -fwarn-incomplete-patterns
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- call-stack
|
|
- monomer
|
|
- hedgehog
|
|
- hedgehog-classes
|
|
- hspec
|
|
- HUnit
|
|
- silently
|