2015-05-09 09:09:40 +03:00
|
|
|
name: brick
|
|
|
|
version: 0.1
|
|
|
|
synopsis: Testing
|
|
|
|
description: Testing
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2015-05-19 05:37:11 +03:00
|
|
|
author: Jonathan Daugherty <cygnus@foobox.com>
|
|
|
|
maintainer: Jonathan Daugherty <cygnus@foobox.com>
|
2015-05-09 09:09:40 +03:00
|
|
|
copyright: (c) Jonathan Daugherty 2015
|
|
|
|
category: Graphics
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
library
|
|
|
|
default-language: Haskell2010
|
2015-05-19 05:36:35 +03:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind -O3
|
2015-05-09 09:09:40 +03:00
|
|
|
hs-source-dirs: src
|
2015-05-18 04:04:36 +03:00
|
|
|
exposed-modules:
|
2015-06-25 06:58:34 +03:00
|
|
|
Brick.Widgets.Border
|
|
|
|
Brick.Widgets.Border.Style
|
|
|
|
Brick.Widgets.Center
|
|
|
|
Brick.Widgets.Core
|
|
|
|
Brick.Widgets.Edit
|
|
|
|
Brick.Widgets.List
|
|
|
|
Brick.AttrMap
|
2015-05-18 04:41:38 +03:00
|
|
|
Brick.Core
|
|
|
|
Brick.Focus
|
|
|
|
Brick.Main
|
2015-06-14 23:23:58 +03:00
|
|
|
Brick.Markup
|
2015-05-18 04:04:36 +03:00
|
|
|
Brick.Util
|
2015-06-14 23:23:58 +03:00
|
|
|
Data.Text.Markup
|
2015-05-18 05:37:43 +03:00
|
|
|
other-modules:
|
2015-06-25 06:54:32 +03:00
|
|
|
Brick.Widgets.Internal
|
2015-05-26 02:33:21 +03:00
|
|
|
Brick.Merge
|
2015-05-18 04:04:36 +03:00
|
|
|
|
2015-05-09 10:45:46 +03:00
|
|
|
build-depends: base >=4.7 && <4.8,
|
|
|
|
vty >= 5.2.9,
|
2015-05-09 19:43:40 +03:00
|
|
|
transformers,
|
2015-05-19 00:10:00 +03:00
|
|
|
data-default,
|
2015-05-26 02:33:21 +03:00
|
|
|
Diff,
|
2015-05-20 05:28:22 +03:00
|
|
|
containers,
|
2015-06-14 23:23:58 +03:00
|
|
|
lens,
|
|
|
|
vector,
|
2015-06-15 02:14:35 +03:00
|
|
|
contravariant,
|
2015-06-28 21:57:38 +03:00
|
|
|
text,
|
|
|
|
template-haskell
|
2015-05-09 09:09:40 +03:00
|
|
|
|
|
|
|
executable brick
|
|
|
|
hs-source-dirs: programs
|
2015-05-19 05:36:35 +03:00
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
2015-05-09 09:09:40 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: Main.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
2015-06-21 01:02:54 +03:00
|
|
|
transformers,
|
2015-05-09 19:56:14 +03:00
|
|
|
vty >= 5.2.9,
|
2015-05-11 17:55:48 +03:00
|
|
|
data-default,
|
2015-06-16 06:26:29 +03:00
|
|
|
lens,
|
|
|
|
text
|
2015-05-11 02:57:53 +03:00
|
|
|
|
2015-06-29 07:00:46 +03:00
|
|
|
Flag bench
|
|
|
|
Description: whether to build benchmarks
|
|
|
|
Default: False
|
|
|
|
|
|
|
|
executable brick-bench
|
|
|
|
hs-source-dirs: programs,src
|
|
|
|
|
|
|
|
if !flag(bench)
|
|
|
|
buildable: False
|
|
|
|
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: Bench.hs
|
|
|
|
CPP-Options: -DBENCH
|
|
|
|
build-depends: base,
|
|
|
|
transformers,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
lens,
|
|
|
|
text,
|
|
|
|
criterion,
|
|
|
|
deepseq,
|
|
|
|
contravariant,
|
|
|
|
template-haskell,
|
|
|
|
containers,
|
|
|
|
vector
|
|
|
|
|
2015-06-29 09:45:04 +03:00
|
|
|
executable brick-suspend-resume-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: SuspendAndResumeDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 09:04:27 +03:00
|
|
|
executable brick-padding-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: PaddingDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 08:40:25 +03:00
|
|
|
executable brick-attr-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: AttrDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 06:16:51 +03:00
|
|
|
executable brick-markup-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: MarkupDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-28 23:06:22 +03:00
|
|
|
executable brick-list-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: ListDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-29 08:43:52 +03:00
|
|
|
executable brick-custom-event-demo
|
2015-06-26 09:34:20 +03:00
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
2015-06-29 08:43:52 +03:00
|
|
|
main-is: CustomEventDemo.hs
|
2015-06-26 09:34:20 +03:00
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-28 22:37:24 +03:00
|
|
|
executable brick-hello-world-demo
|
2015-05-19 20:23:58 +03:00
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
2015-06-28 22:37:24 +03:00
|
|
|
main-is: HelloWorldDemo.hs
|
2015-05-19 20:23:58 +03:00
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
2015-06-14 23:23:58 +03:00
|
|
|
text,
|
2015-05-19 20:23:58 +03:00
|
|
|
lens
|
|
|
|
|
2015-06-28 22:45:26 +03:00
|
|
|
executable brick-edit-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: EditDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-06-28 22:15:55 +03:00
|
|
|
executable brick-border-demo
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: BorderDemo.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
text,
|
|
|
|
lens
|
|
|
|
|
2015-05-11 02:57:53 +03:00
|
|
|
executable brick-rogue
|
|
|
|
hs-source-dirs: programs
|
|
|
|
ghc-options: -threaded -Wall -fno-warn-unused-do-bind
|
|
|
|
default-language: Haskell2010
|
|
|
|
main-is: Rogue.hs
|
|
|
|
build-depends: base,
|
|
|
|
brick,
|
2015-06-21 01:02:54 +03:00
|
|
|
transformers,
|
2015-05-11 02:57:53 +03:00
|
|
|
vty >= 5.2.9,
|
|
|
|
data-default,
|
|
|
|
array,
|
|
|
|
random
|