This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
iohk-skeleton.cabal
95 lines (88 loc) · 1.96 KB
/
iohk-skeleton.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
cabal-version: 2.2
name: iohk-skeleton
version: 0.1.0.0
synopsis: Template project with reference CI setup
license: Apache-2.0
license-files:
LICENSE
NOTICE
copyright: 2019 Input Output (Hong Kong) Ltd.
author: IOHK
maintainer: [email protected]
flag development
description: Disable `-Werror`
default: False
manual: True
library
exposed-modules: Skeleton
build-depends: base ^>=4.12.0.0
, cardano-prelude
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
if (!flag(development))
ghc-options: -Werror
executable iohk-skeleton
main-is: iohk-skeleton.hs
build-depends: base ^>=4.12.0.0
, cardano-prelude
, iohk-skeleton
hs-source-dirs: app
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
if (!flag(development))
ghc-options: -Werror
test-suite unit
default-language:
Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
ghc-options:
-threaded -rtsopts
-Wall
-O2
if (!flag(development))
ghc-options:
-Werror
build-depends:
base
, cardano-prelude
, iohk-skeleton
, hspec
, text
type:
exitcode-stdio-1.0
hs-source-dirs:
test/unit
main-is:
Main.hs
other-modules: SkeletonSpec
benchmark iohk-skeleton-bench
default-language:
Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
ghc-options:
-threaded -rtsopts
-Wall
-O2
if (!flag(development))
ghc-options:
-Werror
build-depends:
base
, cardano-prelude
, criterion
, iohk-skeleton
type:
exitcode-stdio-1.0
hs-source-dirs:
bench
main-is:
Main.hs