-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscrive-prelude.cabal
78 lines (72 loc) · 1.67 KB
/
scrive-prelude.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
cabal-version: 3.0
name: scrive-prelude
version: 1.0.3.1
author: Scrive AB
maintainer: Scrive AB
copyright: 2021
stability: Experimental
category: Web
synopsis: Prelude for scrive
description:
This is Scrive's common collection of imports and helper functions.
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
tested-with: GHC == { 8.10.7, 9.0.2, 9.2.2, 9.4.8, 9.6.6, 9.8.2, 9.10.1 }
common common-stanza
default-language: Haskell2010
default-extensions:
BangPatterns
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveFunctor
DeriveGeneric
DerivingStrategies
DerivingVia
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NoImplicitPrelude
OverloadedLabels
OverloadedStrings
PatternGuards
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
StrictData
TupleSections
TypeApplications
TypeFamilies
TypeOperators
TypeSynonymInstances
UndecidableInstances
library
import: common-stanza
hs-source-dirs: src
ghc-options:
-Wall -Wincomplete-record-updates -Wredundant-constraints -Wunused-packages
if impl(ghc >= 9.8)
ghc-options: -Wno-x-partial
else
ghc-options: -Wno-dodgy-imports
ghc-prof-options: -fprof-auto -fno-prof-count-entries -fprof-auto-calls
exposed-modules: Prelude
build-depends:
, base <5
, cond
, exceptions
, extra
, fields-json
, hpqtypes
, optics
, pretty-simple
, text