aboutsummaryrefslogtreecommitdiff
path: root/server/uplcg.cabal
blob: 830c01a71cd1fd786f67fb2f60dd859f366c9186 (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
56
57
58
59
60
61
62
63
Name:          uplcg
Version:       0.1.0
Synopsis:      Untitled PL Card Game
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:
    Uplcg.CookieSocket
    Uplcg.Game
    Uplcg.Messages
    Uplcg.Main.GenerateElmTypes
    Uplcg.Main.Server

  Build-depends:
    aeson                >= 1.4  && < 1.5,
    async                >= 2.2  && < 2.3,
    base                 >= 4.9  && < 5,
    bytestring           >= 0.10 && < 0.11,
    elm-bridge           >= 0.5  && < 0.6,
    fast-logger          >= 3.0  && < 3.1,
    hashable             >= 1.3  && < 1.4,
    lens                 >= 4.18 && < 4.19,
    mtl                  >= 2.2  && < 2.3,
    random               >= 1.1  && < 1.2,
    scotty               >= 0.11 && < 0.12,
    stm                  >= 2.5  && < 2.6,
    text                 >= 1.2  && < 1.3,
    time                 >= 1.9  && < 1.10,
    unordered-containers >= 0.2  && < 0.3,
    uuid                 >= 1.3  && < 1.4,
    vector               >= 0.12 && < 0.13,
    vector-algorithms    >= 0.8  && < 0.9,
    vector-instances     >= 3.4  && < 3.5,
    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 uplcg-generate-elm-types
  Hs-source-dirs:   src
  Main-is:          GenerateElmTypes.hs
  Default-language: Haskell2010
  Ghc-options:      -Wall
  Build-depends:    base, uplcg

Executable uplcg-server
  Hs-source-dirs:   src
  Main-is:          Server.hs
  Default-language: Haskell2010
  Ghc-options:      -Wall -O2 -threaded -rtsopts "-with-rtsopts=-N"
  Build-depends:    base, uplcg