-
Notifications
You must be signed in to change notification settings - Fork 0
/
sorter.cabal
64 lines (60 loc) · 2.14 KB
/
sorter.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
cabal-version: 2.2
name: sorter
version: 0.1.1.0
synopsis: Visualize various sorting algorithms.
-- description:
homepage: https://github.com/iljakuklic/sorter#readme
license: MIT
license-file: LICENSE
author: LukasK
maintainer: [email protected]
copyright: LukasK
category: Algorithm Visualization
build-type: Simple
extra-source-files: README.md
common ghc-flags
default-language: Haskell2010
ghc-options: -Wall
-Wcompat
-Wredundant-constraints
library
import: ghc-flags
hs-source-dirs: lib
exposed-modules: Sorter,
Sorter.Animate,
Sorter.Spec,
Sorter.Runner,
SortAlgo,
SortAlgo.Algo,
SortAlgo.BubbleSort,
SortAlgo.SelectSort,
SortAlgo.HeapSort,
SortAlgo.SmallSort,
SortAlgo.QuickSort
build-depends: base >= 4.7 && < 5,
array >= 0.5 && < 1,
mtl >= 2.2 && < 3,
gloss >= 1.13 && < 2,
gloss-export >= 0.1 && < 0.2,
text >= 1.2 && < 2
executable sorter
import: ghc-flags
hs-source-dirs: src
main-is: Main.hs
other-modules: CmdLine
build-depends: sorter,
base >= 4.7 && < 5,
random >= 1.1 && < 2,
text >= 1.2 && < 2,
optparse-generic >= 1.3 && < 2,
optparse-applicative >= 0.14 && < 1
test-suite sorter-test
import: ghc-flags
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: Test.hs
ghc-options: -main-is Test.main
-Wno-missing-signatures
build-depends: base >= 4.7 && < 5,
sorter,
hedgehog >= 1.0 && < 2