aboutsummaryrefslogtreecommitdiff
path: root/server/cafp.cabal
blob: f97f958d9402fdd7570e355c4cc4d3e92aded011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name:          cafp
Version:       0.1.0
Synopsis:      Cards Against Functional Programming
License:       BSD3
License-file:  LICENSE
Author:        Jasper Van der Jeugt <m@jaspervdj.be>
Maintainer:    Jasper Van der Jeugt <m@jaspervdj.be>
Copyright:     2020 Jasper Van der Jeugt <m@jaspervdj.be>
Category:      Language
Build-type:    Simple
Cabal-version: 1.18

Library
  Default-language: Haskell2010
  Ghc-options:      -Wall
  Hs-source-dirs:   lib

  Exposed-modules:
    Cafp.Messages
    Cafp.Main.GenerateElmTypes
    Cafp.Main.Server

  Build-depends:
    base                 >= 4.9  && < 5,
    elm-bridge           >= 0.5  && < 0.6,
    scotty               >= 0.11 && < 0.12,
    stm                  >= 2.5  && < 2.6,
    text                 >= 1.2  && < 1.3,
    unordered-containers >= 0.2  && < 0.3,
    wai                  >= 3.2  && < 3.3,
    wai-websockets       >= 3.0  && < 3.1,
    warp                 >= 3.3  && < 3.4,
    websockets           >= 0.12 && < 0.13

Executable cafp-generate-elm-types
  Hs-source-dirs:   src
  Main-is:          GenerateElmTypes.hs
  Default-language: Haskell2010
  Ghc-options:      -Wall
  Build-depends:    base, cafp

Executable cafp-server
  Hs-source-dirs:   src
  Main-is:          Server.hs
  Default-language: Haskell2010
  Ghc-options:      -Wall
  Build-depends:    base, cafp