-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathavatar-generator.cabal
102 lines (76 loc) · 1.79 KB
/
avatar-generator.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
cabal-version: >= 1.10
build-type: Simple
name: avatar-generator
version: 0.1.0.1
author: Ivan Perez
maintainer: ivan.perez@keera.co.uk
homepage: http://github.com/keera-studios/avatar-generator
license: BSD3
license-file: LICENSE
copyright: Keera Studios Ltd
category: Graphics
synopsis: A simple random avatar icon generator
description:
A straightforward avatar image generator that produces 512x512 random images.
source-repository head
type: git
location: https://github.com/keera-studios/avatar-generator
source-repository this
type: git
location: https://github.com/keera-studios/avatar-generator
tag: v0.1.0.1
-- You can disable the hlint test suite with -f-test-hlint
flag test-hlint
default: False
manual: True
-- You can disable the haddock coverage test suite with -f-test-doc-coverage
flag test-doc-coverage
default: False
manual: True
executable avatar-generator
main-is:
Main.hs
other-modules:
AvatarGenerator
ImageManipulation
build-depends:
base >= 4.6 && < 5
, random >= 1.1 && < 1.2
, JuicyPixels >= 3.2 && < 3.4
default-language:
Haskell2010
hs-source-dirs:
src
test-suite hlint
type:
exitcode-stdio-1.0
main-is:
hlint.hs
hs-source-dirs:
tests
if !flag(test-hlint)
buildable: False
else
build-depends:
base
, hlint >= 1.7
-- Verify that the code is thoroughly documented
test-suite haddock-coverage
type:
exitcode-stdio-1.0
main-is:
HaddockCoverage.hs
hs-source-dirs:
tests
ghc-options:
-Wall
if !flag(test-doc-coverage)
buildable:
False
else
build-depends:
base >= 4 && < 5
, directory
, filepath
, process
, regex-posix