-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDraftGen.cabal
100 lines (89 loc) · 2.21 KB
/
DraftGen.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
cabal-version: 3.6
category: Tool
name: DraftGen
version: 1.5.1.0
synopsis: Tool for generating booster packs in MTG
description:
Please see the README on GitHub at <https://github.com/skykanin/draftgen#readme>
homepage: https://github.com/skykanin/draftgen
bug-reports: https://github.com/skykanin/draftgen/issues
license: GPL-3.0-or-later
license-file: LICENSE
author: skykanin
maintainer: [email protected]
copyright: skykanin
build-type: Simple
tested-with: GHC ==9.4.6
extra-source-files: README.md
common common-language
default-language: GHC2021
default-extensions:
NoFieldSelectors
DeriveAnyClass
DerivingStrategies
DuplicateRecordFields
LambdaCase
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
common common-ghc-options
ghc-options:
-Wall -Wmissing-deriving-strategies -Wmissing-export-lists
-Wpartial-fields -Wredundant-constraints -Wunused-packages
-Wunused-type-patterns -Wno-name-shadowing
common common-stanza
import: common-language
mixins:
base hiding (Prelude),
dg-prelude (Prelude)
executable dg
import: common-language
main-is: Main.hs
hs-source-dirs: src
build-depends:
, base
, DraftGen
ghc-options: -threaded -Wall -O2
library
import: common-stanza, common-ghc-options
exposed-modules:
CLI
Encode
File
Generate
Optics
Optics.Operators
Types
Util
build-depends:
, aeson
, base ^>=4.17.2.0
, bytestring
, containers
, dg-prelude
, directory
, filepath
, hashable
, http-client
, http-client-tls
, optics-core
, optparse-generic
, random
, transformers
, unordered-containers
hs-source-dirs: src/DraftGen
test-suite unit-tests
import: common-stanza
type: exitcode-stdio-1.0
hs-source-dirs: test/src
main-is: Main.hs
other-modules:
build-depends:
, base ^>=4.17.2.0
, dg-prelude
, DraftGen
, exceptions
, filepath
, pretty-simple
, sandwich
ghc-options: -threaded