rainbow 0.20.0.4 → 0.20.0.6
raw patch · 7 files changed
+18/−177 lines, 7 files
Files
- README.md +0/−45
- changelog +0/−12
- current-versions.txt +0/−42
- lib/Rainbow/Types.hs +1/−1
- minimum-versions.txt +0/−40
- rainbow.cabal +17/−22
- sunlight-test.hs +0/−15
− README.md
@@ -1,45 +0,0 @@-# rainbow--rainbow helps you build colorful output for both 8- and 256-color-terminals. It works only on Unix-like operating systems.--rainbow is on Github:--http://www.github.com/massysett/rainbow--and Hackage:--http://hackage.haskell.org/package/rainbow--rainbow is licensed under the BSD license; see the LICENSE file.--## Versioning--rainbow releases are numbered in accordance with the Haskell-Package Versioning Policy.--rainbow does not set its dependencies in accordance with the-Package Versioning Policy, as I do not set upper bounds. rainbow-is guaranteed to build with the *minimum* versions specified in the-cabal file. I also include a dependencies.txt file that-documents more recent dependencies that are also known to work.--If you find that rainbow does not build due to dependency problems:-1) please let me know at omari@smileystation.com; 2) feel free to-add appropriate upper bounds or patches to the package as-appropriate; and 3) feel free to add command-line contraints to your-cabal command to get it to build.--## Building--If you get the package from Hackage, it is ready to build with-`cabal install` like any other Haskell package.--If you get it from Github, first you will need to create the cabal-file. It's built using m4 to avoid redundancies in the file. To-build the cabal file, simply invoke `make`.--## Generators package--The source tree also includes a package `rainbow-tests` which-includes several generators that other packages might find useful.
− changelog
@@ -1,12 +0,0 @@-0.16.0.0- * overhauled how colors are stored; much simpler now. However- these changes will break old code.--0.14.0.2- * Change dependency bounds- * Change cabal generator to cartel--0.14.0.0-- * Change Chunk to hold a list of strict Text rather- than just a single Text.
− current-versions.txt
@@ -1,42 +0,0 @@-This package was tested to work with these dependency-versions and compiler version.-These are the default versions fetched by cabal install.-Tested as of: 2014-08-14 18:19:57.496926 UTC-Path to compiler: ghc-7.8.3-Compiler description: 7.8.3--/opt/ghc/7.8.3/lib/ghc-7.8.3/package.conf.d:- Cabal-1.18.1.3- array-0.5.0.0- base-4.7.0.1- bin-package-db-0.0.0.0- binary-0.7.1.0- rts-1.0- bytestring-0.10.4.0- containers-0.5.5.1- deepseq-1.3.0.2- directory-1.2.1.0- filepath-1.3.0.2- (ghc-7.8.3)- ghc-prim-0.3.1.0- haskeline-0.7.1.2- (haskell2010-1.1.2.0)- (haskell98-2.0.0.3)- hoopl-3.10.0.1- hpc-0.6.0.1- integer-gmp-0.5.1.0- old-locale-1.0.0.6- old-time-1.1.0.2- pretty-1.1.1.1- process-1.2.0.0- template-haskell-2.9.0.0- terminfo-0.4.0.0- time-1.4.2- transformers-0.3.0.0- unix-2.7.0.1- xhtml-3000.2.1--/home/massysett/rainbow/library/sunlight-20173/db:- rainbow-0.16.2.0- text-1.1.1.3-
lib/Rainbow/Types.hs view
@@ -321,7 +321,7 @@ -- 'TermName', the UNIX terminfo library is used to determine how many -- colors the terminal supports. If it supports at least 256 colors, -- then 256 colors are used. If it supports at least 8 colors but less--- than 256 colors, then 256 colors are used. Otherwise, no colors are+-- than 256 colors, then 8 colors are used. Otherwise, no colors are -- used. A runtime error will occur if the 'TermName' is not found in -- the system terminal database. putChunks :: Term -> [Chunk] -> IO ()
− minimum-versions.txt
@@ -1,40 +0,0 @@-This package was tested to work with these dependency-versions and compiler version.-These are the minimum versions given in the .cabal file.-Tested as of: 2014-08-14 18:19:57.496926 UTC-Path to compiler: ghc-7.4.1-Compiler description: 7.4.1--/opt/ghc/7.4.1/lib/ghc-7.4.1/package.conf.d:- Cabal-1.14.0- array-0.4.0.0- base-4.5.0.0- bin-package-db-0.0.0.0- binary-0.5.1.0- bytestring-0.9.2.1- containers-0.4.2.1- deepseq-1.3.0.0- directory-1.1.0.2- extensible-exceptions-0.1.1.4- filepath-1.3.0.0- (ghc-7.4.1)- ghc-prim-0.2.0.0- (haskell2010-1.1.0.1)- (haskell98-2.0.0.1)- hoopl-3.8.7.3- hpc-0.5.1.1- integer-gmp-0.4.0.0- old-locale-1.0.0.4- old-time-1.1.0.0- pretty-1.1.1.0- process-1.1.0.1- rts-1.0- template-haskell-2.7.0.0- time-1.4- unix-2.5.1.0--/home/massysett/rainbow/library/sunlight-20173/db:- rainbow-0.16.2.0- terminfo-0.3.2- text-0.11.2.0-
rainbow.cabal view
@@ -3,20 +3,20 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: genCabal.hs--- Generated on: 2014-11-23 22:02:10.392135 EST--- Cartel library version: 0.10.0.2+-- Generated on: 2015-01-17 22:11:37.104413 EST+-- Cartel library version: 0.12.0.0 name: rainbow-version: 0.20.0.4-cabal-version: >= 1.14-build-type: Simple+version: 0.20.0.6+cabal-version: >= 1.16 license: BSD3 license-file: LICENSE-copyright: Copyright 2013 - 2014 Omari Norman+build-type: Simple+copyright: Copyright 2013-2015 Omari Norman author: Omari Norman maintainer: omari@smileystation.com stability: Experimental-homepage: http://www.github.com/massysett/rainbow-bug-reports: http://www.github.com/massyett/rainbow/issues+homepage: https://www.github.com/massysett/rainbow+bug-reports: https://www.github.com/massysett/rainbow/issues synopsis: Print text to terminal with colors and effects description: rainbow helps you print Text chunks to a terminal with colors and effects@@ -30,18 +30,9 @@ ncurses headers (for instance, on Debian systems, install the libncurses5-dev package.) category: System-tested-with: GHC == 7.4.1, GHC == 7.6.3, GHC == 7.8.2-extra-source-files:- README.md- , sunlight-test.hs- , minimum-versions.txt- , current-versions.txt- , changelog--source-repository head- type: git- location: git://github.com/massysett/rainbow.git- branch: master+tested-with:+ GHC == 7.6.3+ , GHC == 7.8.2 Library exposed-modules:@@ -51,9 +42,13 @@ default-language: Haskell2010 ghc-options: -Wall- hs-source-dirs:- lib build-depends: base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8.0.0) , terminfo ((> 0.3.2 || == 0.3.2) && < 0.5.0.0) , text ((> 0.11.2.0 || == 0.11.2.0) && < 1.3.0.0)+ hs-source-dirs:+ lib++source-repository head+ type: git+ location: https://github.com/massysett/rainbow.git
− sunlight-test.hs
@@ -1,15 +0,0 @@-module Main where--import Test.Sunlight--inputs = TestInputs- { tiDescription = Nothing- , tiCabal = "cabal"- , tiLowest = ("7.4.1", "ghc-7.4.1", "ghc-pkg-7.4.1")- , tiDefault = [ ("7.4.1", "ghc-7.4.1", "ghc-pkg-7.4.1")- , ("7.6.3", "ghc-7.6.3", "ghc-pkg-7.6.3")- , ("7.8.3", "ghc-7.8.3", "ghc-pkg-7.8.3") ]- , tiTest = []- }--main = runTests inputs