-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterminal-coffkell.cabal
More file actions
128 lines (120 loc) · 2.53 KB
/
terminal-coffkell.cabal
File metadata and controls
128 lines (120 loc) · 2.53 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
cabal-version: 3.0
name: terminal-coffkell
version: 0.1.0.0
license-file: LICENSE
author: Simon Kohlmeyer
description: Order coffee with haskell!
maintainer: void@wthack.de
copyright: (c)
build-type: Simple
extra-doc-files: CHANGELOG.md
-- extra-source-files:
flag dev
description: Enable development time features and checks
default: False
manual: True
common shared-properties
if flag(dev)
ghc-options:
-- -Wno-unused-imports
-- -Wno-unused-packages
-Wwarn
-fdefer-typed-holes
-fdefer-type-errors
-fdefer-out-of-scope-variables
ghc-options:
-- -Wno-implicit-prelude
-- -Wno-missing-export-lists
-- -Wno-missing-import-lists
-- -Wno-missing-kind-signatures
-- -Wno-all-missed-specialisations
-- -Wno-missing-safe-haskell-mode
-- -Wno-monomorphism-restriction
-- -Wno-unsafe
-Wall
-Werror=missing-fields
-Werror=incomplete-patterns
-Werror=incomplete-record-updates
-Werror=incomplete-uni-patterns
-Werror=partial-fields
build-depends:
base,
bytestring,
mtl,
placeholders,
relude,
text,
default-language: GHC2021
mixins:
base hiding (Prelude),
relude (Relude as Prelude),
relude,
default-extensions:
ApplicativeDo
BlockArguments
DataKinds
DeriveAnyClass
DerivingStrategies
DerivingVia
DisambiguateRecordFields
DuplicateRecordFields
LambdaCase
NoFieldSelectors
OverloadedRecordDot
OverloadedStrings
RecordWildCards
TemplateHaskell
TypeFamilies
library
import: shared-properties
-- cabal-gild: discover src
exposed-modules:
Analytics
Examples
Input
Yum
-- other-modules:
-- other-extensions:
hs-source-dirs: src
build-depends:
HaTeX,
aeson,
attoparsec,
containers,
deriving-aeson,
directory,
filepath,
groom,
http-client,
http-client-tls,
http-media,
http-types,
iso8601-time,
package-version,
prettyprinter,
process,
servant,
servant-auth,
servant-auth-client,
servant-client,
servant-client-core,
servant-conduit,
split,
template-haskell,
-- Left as an exercise to the reader
--
-- test-suite test
-- import: shared-properties
-- -- other-modules:
-- -- other-extensions:
-- type: exitcode-stdio-1.0
-- hs-source-dirs: test
-- main-is: MainShim.hs
-- -- main-is: Spec.hs
-- -- cabal-gild: discover test --exclude=test/MainShim.hs
-- other-modules:
-- Discover
-- Spec
--
-- build-depends:
-- terminal-coffkell