barrier-0.1.0: barrier.cabal
name: barrier
version: 0.1.0
synopsis: Shield.io style badge generator
description: see example: <https://github.com/philopon/barrier/blob/master/examples/example.hs>
license: MIT
license-file: LICENSE
author: HirotomoMoriwaki<philopon.dependence@gmail.com>
maintainer: HirotomoMoriwaki<philopon.dependence@gmail.com>
Homepage: https://github.com/philopon/barrier
Bug-reports: https://github.com/philopon/barrier/issues
copyright: (c) 2015 Hirotomo Moriwaki
category: Graphics
build-type: Simple
data-files: data/advance.txt
, tests/data/flat/1.svg
, tests/data/flat/2.svg
, tests/data/flat/3.svg
, tests/data/flat/4.svg
, tests/data/flatSquare/1.svg
, tests/data/flatSquare/2.svg
, tests/data/flatSquare/3.svg
, tests/data/flatSquare/4.svg
, tests/data/plastic/1.svg
, tests/data/plastic/2.svg
, tests/data/plastic/3.svg
, tests/data/plastic/4.svg
cabal-version: >=1.10
flag example
default: False
description: build example
flag generator
default: False
description: build font advance generator
flag test-results
default: False
description: build test results generator
library
exposed-modules: Graphics.Badge.Barrier
Graphics.Badge.Barrier.Color
Graphics.Badge.Barrier.Internal
Graphics.Badge.Barrier.Style.Flat
Graphics.Badge.Barrier.Style.FlatSquare
Graphics.Badge.Barrier.Style.Plastic
build-depends: base >=4.6 && <4.8
, template-haskell
, unordered-containers >=0.2 && <0.3
, blaze-svg >=0.3 && <0.4
, text >=1.1 && <1.3
, bytestring >=0.10 && <0.11
hs-source-dirs: src
ghc-options: -Wall -O2
default-language: Haskell2010
executable barrier-data-generator
main-is: data-generator.hs
if flag(generator)
buildable: True
build-depends: base >=4.6 && <4.8
, freetype2 >=0.1 && <0.2
else
buildable: False
ghc-options: -Wall -O2
default-language: Haskell2010
executable barrier-example
main-is: example.hs
if flag(example)
buildable: True
build-depends: base >=4.6 && <4.8
, bytestring >=0.10 && <0.11
, lens-family-core >=1.2 && <1.3
, barrier
else
buildable: False
hs-source-dirs: examples
ghc-options: -Wall -O2
default-language: Haskell2010
executable barrier-test-result-generator
main-is: make-test-data.hs
if flag(test-results)
buildable: True
build-depends: base >=4.6 && <4.8
, bytestring >=0.10 && <0.11
, lens-family-core >=1.2 && <1.3
, barrier
else
buildable: False
hs-source-dirs: examples
ghc-options: -Wall -O2
default-language: Haskell2010
test-suite tasty
type: exitcode-stdio-1.0
main-is: tasty.hs
build-depends: base >=4.6 && <4.8
, bytestring >=0.10 && <0.11
, lens-family-core >=1.2 && <1.3
, tasty >=0.10 && <0.11
, tasty-golden >=2.2 && <2.3
, barrier
hs-source-dirs: tests
ghc-options: -Wall -O2
default-language: Haskell2010