/
prefix.cabal
58 lines (53 loc) · 968 Bytes
/
prefix.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
cabal-version: 3.0
-- Created : 9 January 2022
name:
prefix
version:
0.1
synopsis:
TODO
description:
TODO
license:
Apache-2.0
-- license-file:
-- LICENSE
author:
Sergey Vinokurov
maintainer:
Sergey Vinokurov <serg.foo@gmail.com>
build-type:
Simple
common ghc-options
default-language:
Haskell2010
ghc-options:
-Wall
-Wname-shadowing
-Wno-type-defaults
if impl(ghc >= 8.0)
ghc-options:
-Wall-missed-specialisations
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wmissing-exported-signatures
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options:
-Wcpp-undef
-Wmissing-home-modules
-Wunbanged-strict-patterns
if impl(ghc >= 8.4)
ghc-options:
-Wmissing-export-lists
-Wpartial-fields
library
import: ghc-options
exposed-modules:
PrefixFoo
hs-source-dirs:
src
build-depends:
base >= 4.9