summaryrefslogtreecommitdiff
path: root/package.yaml
blob: 002ad713b19407269a5e6221c8c95ded0bbe7ed8 (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
name:                anomic
version:             0.1.0.0
github:              "afcady/anomic"
author:              "Andrew Cady"
maintainer:          "d@jerkface.net"
copyright:           "AllRightsReserved"
description:         A game of Nomic

dependencies:
- base >= 4.7 && < 5
- rebase
- servant-server

ghc-options: -W -Wall -O2

library:
  source-dirs: src

executables:
  anomic:
    main:                anomic.hs
    source-dirs:         .
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    dependencies:
    - anomic
    - warp

tests:
  anomic-test:
    main:                Spec.hs
    source-dirs:         test
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    dependencies:
    - anomic