forked from haskell-beginners-2022/exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exercises.cabal
116 lines (101 loc) · 3.87 KB
/
exercises.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
cabal-version: 3.0
name: exercises
version: 0.0.0.0
synopsis: Exercises for the Haskell Beginners 2022 course
description:
Exercises for the Haskell Beginners 2022 course.
See [README.md](https://github.com/haskell-beginners-2022/exercises#exercises) for more details.
homepage: https://github.com/haskell-beginners-2022/exercises
bug-reports: https://github.com/haskell-beginners-2022/exercises/issues
license: MPL-2.0
license-file: LICENSE
author: Haskell Beginners 2022 Course
maintainer: Haskell Beginners 2022 Course <[email protected]>
copyright: 2021-2022 Haskell Beginners 2022 Course
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
tested-with: GHC == 8.10.7
source-repository head
type: git
location: https://github.com/haskell-beginners-2022/exercises.git
common common-options
build-depends: base ^>= 4.14
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
-Wnoncanonical-monad-instances
-fhide-source-paths
-Wmissing-export-lists
-Wpartial-fields
default-language: Haskell2010
default-extensions: ConstraintKinds
DeriveGeneric
DerivingStrategies
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
ViewPatterns
common common-doctest
import: common-options
hs-source-dirs: test
build-depends: doctest ^>= 0.20
ghc-options: -threaded
common common-exe
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
library
import: common-options
hs-source-dirs: src
exposed-modules: Lecture1
Lecture2
Lecture3
Lecture4
executable lecture4
import: common-options, common-exe
hs-source-dirs: app
main-is: Main.hs
build-depends: base, exercises
executable generate-many-products
import: common-options, common-exe
hs-source-dirs: test/gen
main-is: Main.hs
build-depends: base, bytestring
test-suite exercises-test
import: common-options, common-exe
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Test.Lecture1
Test.Lecture2
Test.Lecture3
Test.Lecture4
build-depends: exercises
, hspec ^>= 2.9
, hspec-hedgehog ^>= 0.0
, hedgehog ^>= 1.0
, hedgehog-classes ^>= 0.2
, silently ^>= 1.2
test-suite doctest-lecture1
import: common-doctest
type: exitcode-stdio-1.0
main-is: DoctestLecture1.hs
test-suite doctest-lecture2
import: common-doctest
type: exitcode-stdio-1.0
main-is: DoctestLecture2.hs
test-suite doctest-lecture3
import: common-doctest
type: exitcode-stdio-1.0
main-is: DoctestLecture3.hs