packages feed

charade-0.1: charade.cabal

name:           charade
version:        0.1
synopsis:       Rapid prototyping websites with Snap and Heist
description:
  Charade is a tool for rapid website prototyping using Heist and Snap.
  Charade-generated sites can easily be dropped into Snap applications
  and work out of the box with no modification.
  .
  The main thing provided by this package is the charade executable that
  serves your prototype sites.  The library provided contains a Heist splice
  that you use to make all evidence of charade disappear in your production
  app.
  .
  For more information, see the @README@: <https://github.com/soostone/charade/blob/master/README.md>

license:        BSD3
license-file:   LICENSE
author:         Doug Beardsley
maintainer:     doug.beardsley@soostone.com
build-type:     Simple
cabal-version:  >= 1.8
homepage:       https://github.com/soostone/charade
category:       Web

extra-source-files:
  CONTRIBUTORS,
  LICENSE,
  README.md

Library
  hs-source-dirs: src

  exposed-modules:
    Heist.Charade

  build-depends:
    base                >= 4       && < 5,
    heist               >= 0.12    && < 0.13,
    xmlhtml             >= 0.2     && < 0.3

  if impl(ghc >= 6.12.0)
    ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
                 -fno-warn-orphans -fno-warn-unused-do-bind
  else
    ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
                 -fno-warn-orphans

Executable charade
  hs-source-dirs: src
  main-is: Charade.hs

  build-depends:
    QuickCheck          >= 2.5     && < 2.6,
    base                >= 4       && < 5,
    configurator        >= 0.2     && < 0.3,
    containers          >= 0.5     && < 0.6,
    filepath            >= 1.3     && < 1.4,
    lens                >= 3.8     && < 3.10,
    heist               >= 0.12    && < 0.13,
    random              >= 1.0     && < 1.1,
    snap                >= 0.12    && < 0.13,
    snap-core           >= 0.9     && < 0.11,
    snap-server         >= 0.9     && < 0.11,
    text                >= 0.11    && < 0.12,
    xmlhtml             >= 0.2     && < 0.3

  ghc-prof-options: -prof -auto-all

  if impl(ghc >= 6.12.0)
    ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
                 -fno-warn-orphans -fno-warn-unused-do-bind
  else
    ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
                 -fno-warn-orphans

source-repository head
  type:     git
  location: https://github.com/Soostone/charade.git