~vonfry/yiyd

yiyd/yiyd.cabal -rw-r--r-- 2.2 KiB
18456d0cVonfry Merge branch 'develop' 3 years ago
                                                                                
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
cabal-version:       2.4
name:                yiyd
version:             1.0.1
description:         This project's whole name is __Zhou Yi Yarrow divination__. Its a Chinese traditional divination with _zhouyi_. So I'll write other document with Chinese instead of other language. I think it's so hard to describe them without chinese.
homepage:            https://gitlab.com/Vonfry/yiyd
license:             GPL-3.0-only
license-file:        LICENSE
author:              Vonfry
maintainer:          mail@vonfry.name
copyright:           2019 Vonfry
category:            CLI
build-type:          Simple
extra-source-files:  README.md

data-dir: static
data-files: zy.yml

executable yiyd
  hs-source-dirs:      src
  main-is:             Main.hs
  default-language:    Haskell2010
  default-extensions:  LambdaCase
                    ,  MultiWayIf
                    ,  OverloadedStrings
                    ,  OverloadedLists
                    ,  NamedFieldPuns
                    ,  RecordWildCards
  build-depends:       base >= 4.7 && < 5
                    ,  mtl
                    ,  yaml
                    ,  optparse-applicative
                    ,  bytestring
                    ,  containers
                    ,  random
  autogen-modules:     Paths_yiyd
  other-modules:       ZY.Divination
                    ,  Paths_yiyd
                    ,  Arguments

test-suite test
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      test, src
  main-is:             Spec.hs
  default-extensions:  LambdaCase
                    ,  MultiWayIf
                    ,  OverloadedStrings
                    ,  OverloadedLists
                    ,  NamedFieldPuns
                    ,  RecordWildCards
  build-depends:       base >=4.7 && < 5
                    ,  optparse-applicative
                    ,  hspec
                    ,  mtl
                    ,  yaml
                    ,  bytestring
                    ,  containers
                    ,  random
  build-tool-depends:  hspec-discover:hspec-discover
  autogen-modules:     Paths_yiyd
  other-modules:       ZY.Divination
                       ZY.DivinationSpec
                    ,  Paths_yiyd
                    ,  Arguments
  cpp-options:      -DDEBUG