-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkjson.cabal
113 lines (103 loc) · 2.32 KB
/
mkjson.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
cabal-version: 2.4
name: mkjson
version: 0.3.0.0
description: Please see the README on GitHub at <https://github.com/mfussenegger/mkjson#readme>
homepage: https://github.com/mfussenegger/mkjson#readme
bug-reports: https://github.com/mfussenegger/mkjson/issues
author: Mathias Fußenegger
maintainer: [email protected]
copyright: 2020 Mathias Fußenegger
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/mfussenegger/mkjson
flag static
description: Pass -static to ghc when linking the binary.
manual: True
default: False
common deps
ghc-options: -Wall -fno-warn-unused-do-bind -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -Wcompat -Widentities -Wredundant-constraints -Wpartial-fields -fhide-source-paths -freverse-errors
build-depends:
base >=4.7 && <5
, aeson
, bytestring
, containers
, mtl
, optparse-applicative
, parsec
, regex-tdfa
, scientific
, text
, time
, unordered-containers
, uuid
, vector
, random
, mersenne-random-pure64
library
import: deps
exposed-modules:
Aeson
Cli
Expr
Fake
ObjectGroups
other-modules:
Paths_mkjson
hs-source-dirs:
src
default-language: Haskell2010
executable mkjson
import: deps
main-is: Main.hs
other-modules:
Paths_mkjson
hs-source-dirs:
app
if flag(static)
ghc-options: fPIC
ld-options: -static
build-depends:
mkjson
default-language: Haskell2010
test-suite mkjson-doctest
import: deps
type: exitcode-stdio-1.0
main-is: doctests.hs
other-modules:
Paths_mkjson
hs-source-dirs:
tests
build-depends:
Glob
, doctest
, mkjson
default-language: Haskell2010
test-suite mkjson-test
import: deps
type: exitcode-stdio-1.0
main-is: spec.hs
other-modules:
Paths_mkjson
hs-source-dirs:
tests
build-depends:
mkjson
default-language: Haskell2010
benchmark mkjson-benchmarks
import: deps
type: exitcode-stdio-1.0
main-is: bench.hs
other-modules:
Paths_mkjson
hs-source-dirs:
benchmarks
build-depends:
mkjson
, criterion
default-language: Haskell2010