okapi/package.yaml

102 lines
2.0 KiB
YAML
Raw Normal View History

2022-03-30 03:07:37 +03:00
name: okapi
version: 0.1.0.0
github: "githubuser/okapi"
license: BSD3
author: "Author name here"
maintainer: "example@example.com"
copyright: "2022 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/okapi#readme>
dependencies:
- base >= 4.7 && < 5
- aeson
- base64
- bytestring
- http-api-data
- http-types
- mmorph
- mtl
- random
- wai
- warp
- warp-tls
- text
- transformers
library:
source-dirs: src
executables:
2022-03-30 04:36:29 +03:00
realworld-exe:
2022-03-30 03:07:37 +03:00
main: Main.hs
2022-03-30 04:36:29 +03:00
source-dirs: examples/realworld
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi
- containers
- hasql
- hasql-th
- jwt
- parser-combinators
- time
- vector
- profunctors
calc-exe:
main: Main.hs
source-dirs: examples/calc
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi
todo-exe:
main: Main.hs
source-dirs: examples/todo
2022-03-30 03:07:37 +03:00
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi
2022-03-30 13:45:29 +03:00
servant-exe:
main: Main.hs
source-dirs: examples/servant
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi
- lucid
- parser-combinators
- servant
- servant-lucid
- servant-server
2022-03-30 03:07:37 +03:00
tests:
okapi-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- okapi