-
Notifications
You must be signed in to change notification settings - Fork 12
/
keera-hails-mvc-solutions-gtk.cabal
137 lines (112 loc) · 3.21 KB
/
keera-hails-mvc-solutions-gtk.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
-- Copyright : (C) Keera Studios Ltd, 2013
-- License : All Rights Reserved
-- Maintainer : support@keera.co.uk
--
cabal-version: >= 1.10
build-type: Simple
name: keera-hails-mvc-solutions-gtk
version: 0.8.0
author: Ivan Perez
maintainer: support@keera.co.uk
homepage: http://www.keera.co.uk/blog/community/
license: BSD3
license-file: LICENSE
copyright: (C) 2013 Keera Studios Ltd
category: Development
synopsis: Haskell on Gtk rails - Solutions to recurrent problems in Gtk applications
description:
Keera Hails is a rapid application development system.
.
The idea behind Hails is that you should be able to build cross platform
applications with minimal effort, very quickly, and the result should be easy
to maintain.
.
Large Hails applications are structured following an optimized MVC
architecture. Values are updated either from the view to the model, or from
the model to the view. Internally, rules use a notion of direction in the
update to determine how different components must be updated.
.
This library provides standard solutions to common synchronization needs
found in Gtk3 applications.
source-repository head
type: git
location: git://github.com/keera-studios/keera-hails
subdir: keera-hails-mvc-solutions-gtk
-- 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
library
exposed-modules:
Hails.MVC.Model.ProtectedModel.VersionedModel
Hails.MVC.Model.ProtectedModel.LoggedModel
Hails.MVC.Model.ProtectedModel.NamedModel
Hails.MVC.Model.ProtectedModel.UpdatableModel
Hails.Graphics.UI.Gtk.Simplify.VersionNumberTitleBar
Hails.Graphics.UI.Gtk.Simplify.NameAndVersionTitleBar
Hails.Graphics.UI.Gtk.Simplify.ProgramMainWindow
Hails.Graphics.UI.Gtk.Simplify.AboutDialog
Hails.Graphics.UI.Gtk.Simplify.Logger
Hails.Graphics.UI.Gtk.Simplify.RootLogger
Hails.Graphics.UI.Gtk.Simplify.UpdateCheck
build-depends:
base >= 4 && < 5
, template-haskell
, gtk
, hslogger
, HTTP
, network
, network-uri
, mtl
, keera-hails-mvc-environment-gtk
, keera-hails-mvc-view
, keera-hails-mvc-view-gtk
, keera-hails-mvc-model-protectedmodel
, keera-hails-reactivevalues
, MissingK
default-language:
Haskell2010
hs-source-dirs:
src/
ghc-options:
-Wall -fno-warn-unused-do-bind -O2
test-suite hlint
type:
exitcode-stdio-1.0
main-is:
HLintMain.hs
default-language:
Haskell2010
hs-source-dirs:
tests
if !flag(test-hlint)
buildable: False
else
build-depends:
base >= 4 && < 5
, hlint >= 1.7
-- Verify that the code is thoroughly documented
test-suite haddock-coverage
type:
exitcode-stdio-1.0
main-is:
HaddockCoverage.hs
default-language:
Haskell2010
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