aboutsummaryrefslogtreecommitdiff
path: root/server/cafp.cabal
blob: 805979f91f2a6f325e906b165facb4af4127ac68 (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
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

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