Sanchayan Maity
7547bcefad
Only builds for now with the DSL fleshed out. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
name: free-monad-example
|
|
version: 0.1.0.0
|
|
github: "sanchayanmaity/free-monad-example"
|
|
license: BSD3
|
|
author: "Sanchayan Maity"
|
|
maintainer: "maitysanchayan@gmail.com"
|
|
copyright: "2020 Sanchayan Maity"
|
|
|
|
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: Please see the README on GitHub at <https://github.com/sanchayanmaity/free-monad-example#readme>
|
|
|
|
dependencies:
|
|
- base >= 4.7 && < 5
|
|
- free
|
|
- postgresql-simple
|
|
- servant
|
|
- servant-server
|
|
- text
|
|
|
|
ghc-options:
|
|
- -Wall
|
|
- -Wunused-binds
|
|
|
|
library:
|
|
source-dirs: src
|
|
|
|
executables:
|
|
free-monad-example-exe:
|
|
main: Main.hs
|
|
source-dirs: app
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- free-monad-example
|
|
|
|
tests:
|
|
free-monad-example-test:
|
|
main: Spec.hs
|
|
source-dirs: test
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- free-monad-example
|