aboutsummaryrefslogtreecommitdiff
path: root/server/cafp.cabal
blob: 3d605fdb9bcb1cfbe3328930cadebfc23ae6a6e8 (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
48
49
50
51
52
53
54
55
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.Game
    Cafp.InfiniteDeck
    Cafp.Messages
    Cafp.Main.GenerateElmTypes
    Cafp.Main.Server

  Build-depends:
    aeson                >= 1.4  && < 1.5,
    base                 >= 4.9  && < 5,
    bytestring           >= 0.10 && < 0.11,
    elm-bridge           >= 0.5  && < 0.6,
    lens                 >= 4.18 && < 4.19,
    random               >= 1.1  && < 1.2,
    scotty               >= 0.11 && < 0.12,
    stm                  >= 2.5  && < 2.6,
    text                 >= 1.2  && < 1.3,
    unordered-containers >= 0.2  && < 0.3,
    vector               >= 0.12 && < 0.13,
    vector-shuffling     >= 1.1  && < 1.2,
    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