on master help sign in
Merge pull request #91 from lspitzner/master
e6c979eJonathan Daugherty
test/LICENSEnew file+31
@@ -0,0 +1,31 @@
1+Copyright Stefan O'Rear 2006, Corey O'Connor 2008, Corey O'Connor 2009
2+
3+All rights reserved.
4+
5+Redistribution and use in source and binary forms, with or without
6+modification, are permitted provided that the following conditions are met:
7+
8+ * Redistributions of source code must retain the above copyright
9+ notice, this list of conditions and the following disclaimer.
10+
11+ * Redistributions in binary form must reproduce the above
12+ copyright notice, this list of conditions and the following
13+ disclaimer in the documentation and/or other materials provided
14+ with the distribution.
15+
16+ * Neither the name of Stefan O'Rear nor the names of other
17+ contributors may be used to endorse or promote products derived
18+ from this software without specific prior written permission.
19+
20+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31+
test/vty-examples.cabal+15−1
@@ -1,7 +1,7 @@
1name: vty-examples
1name: vty-examples
2version: 5.4.1
2version: 5.4.1
3license: BSD3
3license: BSD3
4−license-file: ../LICENSE
4+license-file: LICENSE
5author: AUTHORS
5author: AUTHORS
6maintainer: Corey O'Connor (coreyoconnor@gmail.com)
6maintainer: Corey O'Connor (coreyoconnor@gmail.com)
7homepage: https://github.com/coreyoconnor/vty
7homepage: https://github.com/coreyoconnor/vty
@@ -20,6 +20,10 @@ description:
20cabal-version: >= 1.18.0
20cabal-version: >= 1.18.0
21build-type: Simple
21build-type: Simple
22
22
23+source-repository head
24+ type: git
25+ location: https://github.com/coreyoconnor/vty.git
26+
23executable vty-interactive-terminal-test
27executable vty-interactive-terminal-test
24 main-is: interactive_terminal_test.hs
28 main-is: interactive_terminal_test.hs
25
29
@@ -44,6 +48,9 @@ executable vty-interactive-terminal-test
44 utf8-string,
48 utf8-string,
45 vector
49 vector
46
50
51+ other-modules: Verify.Data.Terminfo.Parse
52+ Verify
53+
47executable vty-event-echo
54executable vty-event-echo
48 main-is: EventEcho.hs
55 main-is: EventEcho.hs
49
56
@@ -113,3 +120,10 @@ executable vty-benchmark
113 utf8-string,
120 utf8-string,
114 vector
121 vector
115
122
123+ other-modules: BenchImageFuzz
124+ BenchNoDiffOpt
125+ BenchRenderChar
126+ BenchVerticalScroll
127+ Verify.Graphics.Vty.Image
128+ Verify.Graphics.Vty.Attributes
129+
vty.cabal+6−2
@@ -43,6 +43,10 @@ data-files: README.md,
43 LICENSE
43 LICENSE
44tested-with: GHC >= 7.6.2
44tested-with: GHC >= 7.6.2
45
45
46+source-repository head
47+ type: git
48+ location: https://github.com/coreyoconnor/vty.git
49+
46library
50library
47 default-language: Haskell2010
51 default-language: Haskell2010
48 build-depends: base >= 4 && < 5,
52 build-depends: base >= 4 && < 5,
@@ -113,9 +117,9 @@ library
113 default-extensions: ScopedTypeVariables
117 default-extensions: ScopedTypeVariables
114 ForeignFunctionInterface
118 ForeignFunctionInterface
115
119
116− ghc-options: -O2 -funbox-strict-fields -threaded -Wall -fspec-constr -fspec-constr-count=10
120+ ghc-options: -O2 -funbox-strict-fields -Wall -fspec-constr -fspec-constr-count=10
117
121
118− ghc-prof-options: -O2 -funbox-strict-fields -threaded -caf-all -Wall -fspec-constr -fspec-constr-count=10
122+ ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr -fspec-constr-count=10
119
123
120 cc-options: -O2
124 cc-options: -O2
121
125