packages feed

rainbox-0.2.0.0: rainbox.cabal

-- Initial rainbox.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                rainbox
version:             0.2.0.0
synopsis:            Two-dimensional box pretty printing, with colors
description:         
  Prints boxes in two dimensions, with colors.  Boxes are
  automatically padded with necessary whitespace.
  .
  For more information, please see the Haddock documentation and
  .
  <http://www.github.com/massysett/rainbox>

homepage:            http://www.github.com/massysett/rainbox
license:             BSD3
license-file:        LICENSE
author:              Omari Norman
maintainer:          omari@smileystation.com
copyright:           2014 Omari Norman
category:            Text
build-type:          Simple
extra-source-files:  README.md, sunlight-test.hs
cabal-version:       >=1.10
tested-with: GHC ==7.4.1, GHC ==7.6.3

source-repository head
  type: git
  location: https://github.com/massysett/rainbox.git

library
  ghc-options: -Wall
  exposed-modules:     
      Rainbox
    , Rainbox.Reader
    , Rainbox.Box
    , Rainbox.Box.Primitives
    , Rainbox.Array2d
    , Rainbox.Tutorial

  build-depends:
      base >=4.5.0.0 && < 5
    , rainbow >= 0.12.0.0
    , text >= 0.11.3.1
    , transformers >= 0.3.0.0
    , array >= 0.4.0.1

  hs-source-dirs: lib
  default-language:    Haskell2010

Test-Suite rainbox-visual
  type: exitcode-stdio-1.0
  ghc-options: -Wall
  main-is: rainbox-visual.hs
  hs-source-dirs: test lib
  default-language:    Haskell2010
  ghc-prof-options: -fprof-auto -caf-all
  build-depends:
      tasty >= 0.8
    , tasty-quickcheck >= 0.8
    , array >= 0.4.0.1
    , base >= 4.5.0.0 && < 5
    , rainbow >= 0.12.0.0
    , text >= 0.11.3.1
    , transformers >= 0.3.0.0
    , random >= 1.0.0.0
    , QuickCheck >= 2.6 && < 2.7

  other-modules:
      Visual
    , Test.Rainbow.Generators

Executable rainbox-mosaic
  ghc-options: -Wall
  main-is: rainbox-mosaic.hs
  hs-source-dirs: test lib
  default-language: Haskell2010
  build-depends:
      QuickCheck >= 2.6 && < 2.7
    , base >= 4.5.0.0 && < 5
    , random >= 1.0.0.0
    , rainbow >= 0.12.0.0
    , text >= 0.11.3.1
    , tasty >= 0.8
    , tasty-quickcheck >= 0.8

  if ! flag(mosaic)
    buildable: False

Flag mosaic
  Description: Build the rainbox-mosaic executable.
  Default: False

Test-Suite rainbox-test
  type: exitcode-stdio-1.0
  ghc-options: -Wall
  Main-is: rainbox-test.hs
  hs-source-dirs: test lib
  default-language:    Haskell2010
  ghc-prof-options: -fprof-auto -caf-all
  build-depends:
      tasty >= 0.8
    , tasty-quickcheck >= 0.8
    , array >= 0.4.0.1
    , base >= 4.5.0.0 && < 5
    , rainbow >= 0.12.0.0
    , text >= 0.11.3.1
    , transformers >= 0.3.0.0
    , QuickCheck >= 2.6 && < 2.7

  other-modules:
      RainboxDir
    , RainboxTests
    , Rainbox.Array2dTests
    , Rainbox.BoxTests
    , Rainbox.ReaderTests
    , Rainbox.BoxDir
    , Rainbox.Box.PrimitivesTests
    , Test.Rainbow.Generators