brick/brick.cabal
2015-07-07 17:00:42 -07:00

221 lines
6.7 KiB
Plaintext

name: brick
version: 0.1
synopsis: Testing
description: Testing
license: BSD3
license-file: LICENSE
author: Jonathan Daugherty <cygnus@foobox.com>
maintainer: Jonathan Daugherty <cygnus@foobox.com>
copyright: (c) Jonathan Daugherty 2015
category: Graphics
build-type: Simple
cabal-version: >=1.10
library
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind -O3
hs-source-dirs: src
exposed-modules:
Brick.Widgets.Border
Brick.Widgets.Border.Style
Brick.Widgets.Center
Brick.Widgets.Core
Brick.Widgets.Edit
Brick.Widgets.List
Brick.AttrMap
Brick.Types
Brick.Focus
Brick.Main
Brick.Markup
Brick.Util
Data.Text.Markup
other-modules:
Brick.Widgets.Internal
Brick.Merge
build-depends: base >=4.7 && <4.8,
vty >= 5.2.9,
transformers,
data-default,
Diff,
containers,
lens,
vector,
contravariant,
text,
template-haskell
executable brick
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: Main.hs
build-depends: base,
brick,
transformers,
vty >= 5.2.9,
data-default,
lens,
text
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
executable brick-layer-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: LayerDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-suspend-resume-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: SuspendAndResumeDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-padding-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: PaddingDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-attr-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: AttrDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-markup-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: MarkupDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-list-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: ListDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-custom-event-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: CustomEventDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-hello-world-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: HelloWorldDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-edit-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: EditDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-border-demo
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: BorderDemo.hs
build-depends: base,
brick,
vty >= 5.2.9,
data-default,
text,
lens
executable brick-rogue
hs-source-dirs: programs
ghc-options: -threaded -Wall -fno-warn-unused-do-bind -O3
default-language: Haskell2010
main-is: Rogue.hs
build-depends: base,
brick,
transformers,
vty >= 5.2.9,
data-default,
array,
random,
lens