Move project to stack

This commit is contained in:
Joscha 2018-01-04 12:53:48 +00:00
parent bf49310bdf
commit c92b688bc9
11 changed files with 291 additions and 109 deletions

52
package.yaml Normal file
View file

@ -0,0 +1,52 @@
name: chards
version: 0.1.0.0
github: "Garmelon/chards"
license: BSD3
author: "Joscha Mennicken"
maintainer: "joscha@migejolise.de"
copyright: "Joscha Mennicken"
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/Garmelon/chards#readme>
dependencies:
- base >= 4.7 && < 5
- containers
- time
- transformers
- haskeline
library:
source-dirs: src
executables:
chards-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- chards
tests:
chards-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- chards