-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpromocode.cabal
73 lines (62 loc) · 1.65 KB
/
promocode.cabal
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
cabal-version: 2.4
name: promocode
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
author: Khanh Hua
maintainer: [email protected]
-- A copyright notice.
-- copyright:
-- category:
extra-source-files:
CHANGELOG.md
README.md
executable main
main-is: Main.hs
-- Modules included in this executable, other than Main.
other-modules:
Data.Offer
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base ^>=4.14.3.0
, mtl ^>=2.2.2
, promocode-lib
hs-source-dirs: app
default-language: Haskell2010
library promocode-lib
-- Modules included in this executable, other than Main.
exposed-modules:
Data.Transaction
, Lang
, Parser
, Command
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base ^>=4.14.3.0
, mtl ^>=2.2.2
hs-source-dirs: lib
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
CommandSpec
hs-source-dirs: tests
ghc-options: -Wall -fllvm
build-depends:
promocode-lib
, mtl ^>=2.2.2
, transformers ^>=0.5.6.2
, time ^>=1.9.3
, base ^>=4.14.3.0
, hspec ==2.*
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover == 2.*