-
Notifications
You must be signed in to change notification settings - Fork 11
/
flow.cabal
60 lines (51 loc) · 1.28 KB
/
flow.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
cabal-version: 2.2
name: flow
version: 2.0.0.5
synopsis: Write more understandable Haskell.
description: Flow provides operators for writing more understandable Haskell.
build-type: Simple
category: Combinators, Functions, Utility
extra-doc-files:
CHANGELOG.md
README.md
license-file: LICENSE.txt
license: MIT
maintainer: Taylor Fausak
source-repository head
location: https://github.com/tfausak/flow
type: git
flag pedantic
default: False
description: Enables @-Werror@, which turns warnings into errors.
manual: True
common library
build-depends: base ^>=4.18.0.0 || ^>=4.19.0.0 || ^>=4.20.0.0
default-language: Haskell2010
ghc-options:
-Weverything
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missing-exported-signatures
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
-Wno-safe
if flag(pedantic)
ghc-options: -Werror
common executable
import: library
build-depends: flow
ghc-options:
-rtsopts
-threaded
library
import: library
-- cabal-gild: discover source/library
exposed-modules: Flow
hs-source-dirs: source/library
test-suite flow-test-suite
import: executable
build-depends:
HUnit ^>=1.6.2.0
hs-source-dirs: source/test-suite
main-is: Main.hs
type: exitcode-stdio-1.0