-
Notifications
You must be signed in to change notification settings - Fork 0
/
MullvadConfigs.cabal
84 lines (73 loc) · 1.69 KB
/
MullvadConfigs.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
cabal-version: 2.4
name: MullvadConfigs
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/sandydoo/MullvadConfigs#readme>
homepage: https://github.com/sandydoo/MullvadConfigs#readme
bug-reports: https://github.com/sandydoo/MullvadConfigs/issues
author: Sander Melnikov
maintainer: Sander Melnikov <[email protected]>
copyright: © 2020 Sander Melnikov
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-doc-files:
README.md
source-repository head
type: git
location: https://github.com/sandydoo/MullvadConfigs
flag dev
description:
Turn on development settings. Build with all errors and without any
optimizations.
default: False
manual: True
common build-options
default-language: Haskell2010
default-extensions:
DerivingStrategies
GeneralizedNewtypeDeriving
NamedFieldPuns
OverloadedStrings
RecordWildCards
if flag(dev)
ghc-options:
-O0 -Wall
else
ghc-options: -O2 -Wall
common dependencies
build-depends:
aeson
, base >=4.7 && <5
, bytestring
, containers
, directory
, filepath
, http-conduit
, lens
, lens-aeson
, relude
, text
, text-builder
, time
, zip
mixins:
base hiding (Prelude)
, relude (Relude as Prelude)
, relude
library
import: build-options, dependencies
hs-source-dirs:
src
exposed-modules:
Config
Data.CountryFlag
Data.Network
Data.Network.Port
Peer
Server
executable create-mullvad-configs
import: build-options, dependencies
main-is: Main.hs
hs-source-dirs:
app
build-depends: MullvadConfigs