File: snap-templates.cabal

package info (click to toggle)
haskell-snap-templates 1.0.0.2-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 240 kB
  • sloc: haskell: 313; sh: 49; makefile: 5
file content (97 lines) | stat: -rw-r--r-- 3,381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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-framework\" executable program for generating starter projects
    .
    To get started, issue the following sequence of commands:
    .
    @$ cabal install snap-templates
    $ mkdir myproject
    $ cd myproject
    $ snap-framework 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-framework
  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),
    old-time            >= 1.0     && < 1.2,
--    snap-server         >= 1.0     && < 1.1,
    template-haskell    >= 2.2,
    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