packages feed

snap-templates-1.0.0.2: snap-templates.cabal

name:           snap-templates
version:        1.0.0.2
synopsis:       Scaffolding CLI for the Snap Framework
description:
    This is the Scaffolding CLI for the official Snap Framework libraries.
    It includes:
    .
    * The \"snap\" executable program for generating starter projects
    .
    To get started, issue the following sequence of commands:
    .
    @$ cabal install snap-templates
    $ mkdir myproject
    $ cd myproject
    $ snap init@
    .
    If you have trouble or any questions, see our FAQ page
    (<http://snapframework.com/faq>) or the documentation
    (<http://snapframework.com/docs>).

license:        BSD3
license-file:   LICENSE
author:         Ozgun Ataman, Doug Beardsley, Gregory Collins, Carl Howells, Chris Smith
maintainer:     snap@snapframework.com
build-type:     Simple
cabal-version:  >= 1.8
homepage:       http://snapframework.com/
category:       Web, Snap
Tested-With:    GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
                GHC == 8.0.1, GHC == 8.2.1, GHC == 8.4.3

extra-source-files:
  CONTRIBUTORS,
  LICENSE,
  README.md,
  project_template/barebones/.ghci,
  project_template/barebones/foo.cabal,
  project_template/barebones/log/placeholder,
  project_template/barebones/src/Main.hs,
  project_template/default/.ghci,
  project_template/default/foo.cabal,
  project_template/default/log/placeholder,
  project_template/default/static/screen.css,
  project_template/default/snaplets/heist/templates/base.tpl,
  project_template/default/snaplets/heist/templates/index.tpl,
  project_template/default/snaplets/heist/templates/_login.tpl,
  project_template/default/snaplets/heist/templates/login.tpl,
  project_template/default/snaplets/heist/templates/_new_user.tpl,
  project_template/default/snaplets/heist/templates/new_user.tpl,
  project_template/default/snaplets/heist/templates/userform.tpl,
  project_template/default/src/Application.hs,
  project_template/default/src/Main.hs,
  project_template/default/src/Site.hs,
  project_template/tutorial/.ghci,
  project_template/tutorial/foo.cabal,
  project_template/tutorial/log/placeholder,
  project_template/tutorial/src/Part2.lhs,
  project_template/tutorial/src/Tutorial.lhs,
  test/snap-testsuite.cabal,
  test/runTestsAndCoverage.sh

Executable snap
  hs-source-dirs: src
  main-is: Snap/Starter.hs

  other-modules: Snap.StarterTH

  build-depends:
    base                >= 4       && < 5,
    bytestring          >= 0.9.1   && < 0.11,
    containers          >= 0.3     && < 0.7,
    directory           >= 1.0     && < 1.4,
    directory-tree      >= 0.11    && < 0.13,
    filepath            >= 1.1     && < 1.5,
    -- Blacklist bad versions of hashable
    hashable            (>= 1.1 && < 1.2) || (>= 1.2.0.6 && <1.3),
    old-time            >= 1.0     && < 1.2,
--    snap-server         >= 1.0     && < 1.1,
    template-haskell    >= 2.2     && < 2.14,
    text                >= 0.11    && < 1.3

  extensions:
    OverloadedStrings

  other-extensions:
    TemplateHaskell

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

source-repository head
  type:     git
  location: https://github.com/snapframework/snap-templates.git