121 lines
2.5 KiB
Text
121 lines
2.5 KiB
Text
cabal-version: 1.12
|
|
|
|
-- This file has been generated from package.yaml by hpack version 0.34.4.
|
|
--
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
name: tickLeisteServer
|
|
version: 0.1.0.0
|
|
description: Please see the README on GitHub at <https://github.com/githubuser/tickLeisteServer#readme>
|
|
homepage: https://github.com/githubuser/tickLeisteServer#readme
|
|
bug-reports: https://github.com/githubuser/tickLeisteServer/issues
|
|
author: Author name here
|
|
maintainer: example@example.com
|
|
copyright: 2020 Author name here
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
build-type: Simple
|
|
extra-source-files:
|
|
README.md
|
|
ChangeLog.md
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/githubuser/tickLeisteServer
|
|
|
|
flag http
|
|
description: Build with http support
|
|
manual: True
|
|
default: True
|
|
|
|
flag https
|
|
description: Build with https support
|
|
manual: True
|
|
default: True
|
|
|
|
executable tickLeisteServer
|
|
main-is: Main.hs
|
|
other-modules:
|
|
Backend.Backend
|
|
Backend.Http
|
|
Backend.Https
|
|
Config
|
|
Environment
|
|
WaiApp
|
|
WebSocketApp
|
|
Paths_tickLeisteServer
|
|
hs-source-dirs:
|
|
app
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
build-depends:
|
|
aeson
|
|
, base >=4.7 && <5
|
|
, bytestring
|
|
, co-log
|
|
, containers
|
|
, http-types
|
|
, mtl
|
|
, optparse-applicative
|
|
, parallel
|
|
, text
|
|
, tickLeiste
|
|
, tickLeiste-aeson
|
|
, tomland
|
|
, unliftio
|
|
, unliftio-core
|
|
, uuid
|
|
, validation-selective
|
|
, wai
|
|
, wai-websockets
|
|
, websockets
|
|
if flag(http)
|
|
build-depends:
|
|
warp
|
|
if flag(https)
|
|
build-depends:
|
|
warp
|
|
, warp-tls
|
|
if flag(http)
|
|
cpp-options: -DHTTP_SUPPORT
|
|
if flag(https)
|
|
cpp-options: -DHTTPS_SUPPORT
|
|
default-language: Haskell2010
|
|
|
|
test-suite tickLeisteServer-test
|
|
type: exitcode-stdio-1.0
|
|
main-is: Spec.hs
|
|
other-modules:
|
|
Paths_tickLeisteServer
|
|
hs-source-dirs:
|
|
test
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
build-depends:
|
|
aeson
|
|
, base >=4.7 && <5
|
|
, bytestring
|
|
, co-log
|
|
, containers
|
|
, http-types
|
|
, mtl
|
|
, optparse-applicative
|
|
, parallel
|
|
, text
|
|
, tickLeiste
|
|
, tickLeiste-aeson
|
|
, tickLeisteServer
|
|
, tomland
|
|
, unliftio
|
|
, unliftio-core
|
|
, uuid
|
|
, validation-selective
|
|
, wai
|
|
, wai-websockets
|
|
, websockets
|
|
if flag(http)
|
|
build-depends:
|
|
warp
|
|
if flag(https)
|
|
build-depends:
|
|
warp
|
|
, warp-tls
|
|
default-language: Haskell2010
|