Tackled problem 1625
[cses-programming-tasks.git] / cses-programming-tasks.cabal
1 cabal-version: 3.4
2 -- The cabal-version field refers to the version of the .cabal specification,
3 -- and can be different from the cabal-install (the tool) version and the
4 -- Cabal (the library) version you are using. As such, the Cabal (the library)
5 -- version used must be equal or greater than the version stated in this field.
6 -- Starting from the specification version 2.2, the cabal-version field must be
7 -- the first thing in the cabal file.
8
9 -- Initial package description 'cses-programming-tasks' generated by
10 -- 'cabal init'. For further documentation, see:
11 -- http://haskell.org/cabal/users-guide/
12 --
13 -- The name of the package.
14 name: cses-programming-tasks
15
16 -- The package version.
17 -- See the Haskell package versioning policy (PVP) for standards
18 -- guiding when and how versions should be incremented.
19 -- https://pvp.haskell.org
20 -- PVP summary: +-+------- breaking API changes
21 -- | | +----- non-breaking API additions
22 -- | | | +--- code changes with no API change
23 version: 0.1.0.0
24
25 -- A short (one-line) description of the package.
26 -- synopsis:
27
28 -- A longer description of the package.
29 -- description:
30
31 -- The license under which the package is released.
32 license: MPL-2.0
33
34 -- The file containing the license text.
35 license-file: LICENSE
36
37 -- The package author(s).
38 author: Neil Smith
39
40 -- An email address to which users can send suggestions, bug reports, and patches.
41 maintainer: NeilNjae@users.noreply.github.com
42
43 -- A copyright notice.
44 -- copyright:
45 category: Game
46 build-type: Simple
47
48 -- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
49 extra-doc-files: CHANGELOG.md
50
51 -- Extra source files to be distributed with the package, such as examples, or a tutorial module.
52 -- extra-source-files:
53
54 common warnings
55 ghc-options: -Wall
56
57 executable cses-programming-tasks
58 -- Import common warning flags.
59 import: warnings
60
61 -- .hs or .lhs file containing the Main module.
62 main-is: Main.hs
63
64 -- Modules included in this executable, other than Main.
65 -- other-modules:
66
67 -- LANGUAGE extensions used by modules in this package.
68 -- other-extensions:
69
70 -- Other library packages from which modules are imported.
71 build-depends: base ^>=4.18.0.0
72
73 -- Directories containing source files.
74 hs-source-dirs: app
75
76 -- Base language which the package is written in.
77 default-language: GHC2021
78
79
80 common build-directives
81 build-depends: base >=4.16
82 default-language: GHC2021
83 hs-source-dirs: ., app
84 ghc-options: -O2
85 -Wall
86 -threaded
87 -rtsopts "-with-rtsopts=-N"
88
89 executable cses1068
90 import: build-directives
91 main-is: cses1068.hs
92
93 executable cses1083
94 import: build-directives
95 main-is: cses1083.hs
96
97 executable cses1069
98 import: build-directives
99 main-is: cses1069.hs
100
101 executable cses1094
102 import: build-directives
103 main-is: cses1094.hs
104
105 executable cses1070
106 import: build-directives
107 main-is: cses1070.hs
108
109 executable cses1620
110 import: build-directives
111 main-is: cses1620.hs
112
113 executable cses1071
114 import: build-directives
115 main-is: cses1071.hs
116
117 executable cses1072
118 import: build-directives
119 main-is: cses1072.hs
120
121 executable cses1092
122 import: build-directives
123 main-is: cses1092.hs
124
125 executable cses1617
126 import: build-directives
127 main-is: cses1617.hs
128
129 executable cses1618
130 import: build-directives
131 main-is: cses1618.hs
132
133 executable cses1754
134 import: build-directives
135 main-is: cses1754.hs
136
137 executable cses1755
138 import: build-directives
139 main-is: cses1755.hs
140 build-depends: containers
141
142 executable cses2205
143 import: build-directives
144 main-is: cses2205.hs
145
146 executable cses2165
147 import: build-directives
148 main-is: cses2165.hs
149
150 executable cses1622
151 import: build-directives
152 main-is: cses1622.hs
153
154 executable cses1623
155 import: build-directives
156 main-is: cses1623.hs
157
158 executable cses1624
159 import: build-directives
160 main-is: cses1624.hs
161 build-depends: containers
162
163 executable cses2431
164 import: build-directives
165 main-is: cses2431.hs
166
167 executable cses1625
168 import: build-directives
169 main-is: cses1625.hs
170 build-depends: containers
171
172 executable cses1625a
173 import: build-directives
174 main-is: cses1625-array.hs
175 build-depends: containers, array
176
177 executable cses1625ac
178 import: build-directives
179 main-is: cses1625-array-count.hs
180 build-depends: array
181
182 executable cses1625m
183 import: build-directives
184 main-is: cses1625-mutable.hs
185 build-depends: array
186