-
Notifications
You must be signed in to change notification settings - Fork 1
/
haskell-example.cabal
91 lines (83 loc) · 2.03 KB
/
haskell-example.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
85
86
87
88
89
90
91
cabal-version: 3.0
name: haskell-example
version: 0.0.0
bug-reports: https://github.com/jonathanknowles/haskell-example/issues
license: Apache-2.0
license-file: LICENSE
author: Jonathan Knowles
maintainer: [email protected]
copyright: 2022–2023 Jonathan Knowles
category: Testing
synopsis: Example Haskell Library
description:
This package provides an example of a Haskell library.
extra-source-files:
README.md
common common-extensions
default-extensions:
DerivingStrategies
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
LambdaCase
ScopedTypeVariables
TypeApplications
ViewPatterns
source-repository head
type: git
location: https://github.com/jonathanknowles/haskell-example
library
import:
common-extensions
hs-source-dirs:
src/haskell-example
exposed-modules:
Example
default-language:
Haskell2010
build-depends:
base >=4.7 && <5
, haskell-example-internal
library haskell-example-internal
import:
common-extensions
hs-source-dirs:
src/haskell-example-internal
exposed-modules:
Example.Internal
default-language:
Haskell2010
build-depends:
base >=4.7 && <5
test-suite haskell-example-test
import:
common-extensions
main-is:
Spec.hs
hs-source-dirs:
src/haskell-example-test
other-modules:
ExampleSpec
type: exitcode-stdio-1.0
default-language:
Haskell2010
build-tool-depends:
hspec-discover:hspec-discover ==2.*
build-depends:
base >=4.7 && <5
, haskell-example
, hspec
benchmark haskell-example-benchmark
import:
common-extensions
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
src/haskell-example-benchmark
main-is:
Main.hs
build-depends:
base >=4.7 && <5
, haskell-example