-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprog03.cabal
54 lines (48 loc) · 1.05 KB
/
prog03.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
cabal-version: 3.0
name: prog03
version: 0.1.0.0
description: Programming Assignment 03
author: Matthew Fluet
copyright: 2023 Matthew Fluet
license: BSD-3-Clause
build-type: Simple
extra-source-files:
README.adoc
common common-stanza
build-depends:
base,
tasty, tasty-hunit
default-language:
GHC2021
default-extensions:
ghc-options:
-Wall -Wcompat -Widentities
-Wmissing-export-lists -Wmissing-home-modules
-Wpartial-fields -Wredundant-constraints
-Wno-name-shadowing -Wno-unused-imports
-Wno-redundant-constraints -Wno-type-defaults
library
import:
common-stanza
exposed-modules:
TextFmt, PropLogic, CardGames
hs-source-dirs:
src
common common-exe-stanza
import:
common-stanza
ghc-options:
-O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
prog03
test-suite test-suite
import:
common-exe-stanza
type:
exitcode-stdio-1.0
main-is:
Spec.hs
other-modules:
Spec.Util
hs-source-dirs:
test