aboutsummaryrefslogtreecommitdiff
path: root/server/uplcg.cabal
blob: 5b6ca3d87d9f72b7483f0704b243a4aaf123a388 (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
64
65
66
67
68
69
70
71
72
73
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
  Other-modules:    Paths_uplcg

  Exposed-modules:
    Uplcg.Cards
    Uplcg.CookieSocket
    Uplcg.Game
    Uplcg.Main.GenerateElmTypes
    Uplcg.Main.Server
    Uplcg.Messages
    Uplcg.Version
    Uplcg.Views

  Build-depends:
    aeson                >= 1.4  && < 1.6,
    async                >= 2.2  && < 2.3,
    base                 >= 4.9  && < 5,
    blaze-html           >= 0.9  && < 0.10,
    bytestring           >= 0.10 && < 0.11,
    elm-bridge           >= 0.5  && < 0.7,
    fast-logger          >= 3.0  && < 3.1,
    hashable             >= 1.3  && < 1.4,
    http-types           >= 0.12 && < 0.13,
    lens                 >= 4.18 && < 4.20,
    mtl                  >= 2.2  && < 2.3,
    process              >= 1.6  && < 1.7,
    random               >= 1.1  && < 1.2,
    scotty               >= 0.11 && < 0.13,
    stm                  >= 2.5  && < 2.6,
    template-haskell     >= 2.15 && < 2.17,
    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-extra            >= 3.0  && < 3.2,
    wai-websockets       >= 3.0  && < 3.1,
    warp                 >= 3.3  && < 3.4,
    websockets           >= 0.12 && < 0.13,
    yaml                 >= 0.11 && < 0.12

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