[Pkg-haskell-commits] [package-plan] 02/03: Add yesod-schaffolding

Joachim Breitner nomeata at moszumanska.debian.org
Thu Aug 28 21:51:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch yesod-scaffold
in repository package-plan.

commit d8f594e5c40549b32dfe3134dd74c379dc7018be
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Aug 28 14:43:00 2014 -0700

    Add yesod-schaffolding
    
    This is generated using
    $ echo -e 'yesod-scaffold\ns\n' | yesod init
    and should prevent us from breaking yesod-bin’s autopkgtest.
---
 additional-cabals/yesod-scaffold-0.0.0.cabal | 99 ++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)

diff --git a/additional-cabals/yesod-scaffold-0.0.0.cabal b/additional-cabals/yesod-scaffold-0.0.0.cabal
new file mode 100644
index 0000000..db4fcd0
--- /dev/null
+++ b/additional-cabals/yesod-scaffold-0.0.0.cabal
@@ -0,0 +1,99 @@
+name:              yesod-scaffold
+version:           0.0.0
+cabal-version:     >= 1.8
+build-type:        Simple
+
+Flag dev
+    Description:   Turn on development settings, like auto-reload templates.
+    Default:       False
+
+Flag library-only
+    Description:   Build for use with "yesod devel"
+    Default:       False
+
+library
+    exposed-modules: Application
+                     Foundation
+                     Import
+                     Model
+                     Settings
+                     Settings.StaticFiles
+                     Settings.Development
+                     Handler.Home
+
+    if flag(dev) || flag(library-only)
+        cpp-options:   -DDEVELOPMENT
+        ghc-options:   -Wall -O0
+    else
+        ghc-options:   -Wall -O2
+
+    extensions: TemplateHaskell
+                QuasiQuotes
+                OverloadedStrings
+                NoImplicitPrelude
+                CPP
+                MultiParamTypeClasses
+                TypeFamilies
+                GADTs
+                GeneralizedNewtypeDeriving
+                FlexibleContexts
+                EmptyDataDecls
+                NoMonomorphismRestriction
+                DeriveDataTypeable
+
+    build-depends: base                          >= 4          && < 5
+                 , yesod                         >= 1.2.5      && < 1.3
+                 , yesod-core                    >= 1.2.12     && < 1.3
+                 , yesod-auth                    >= 1.3        && < 1.4
+                 , yesod-static                  >= 1.2        && < 1.3
+                 , yesod-form                    >= 1.3        && < 1.4
+                 , bytestring                    >= 0.9        && < 0.11
+                 , text                          >= 0.11       && < 2.0
+                 , persistent                    >= 1.3        && < 1.4
+                 , persistent-sqlite             >= 1.3        && < 1.4
+                 , persistent-template           >= 1.3        && < 1.4
+                 , template-haskell
+                 , shakespeare                   >= 2.0        && < 2.1
+                 , hjsmin                        >= 0.1        && < 0.2
+                 , monad-control                 >= 0.3        && < 0.4
+                 , wai-extra                     >= 3.0        && < 3.1
+                 , yaml                          >= 0.8        && < 0.9
+                 , http-conduit                  >= 2.1        && < 2.2
+                 , directory                     >= 1.1        && < 1.3
+                 , warp                          >= 3.0        && < 3.1
+                 , data-default
+                 , aeson                         >= 0.6        && < 0.9
+                 , conduit                       >= 1.0        && < 2.0
+                 , monad-logger                  >= 0.3        && < 0.4
+                 , fast-logger                   >= 2.2        && < 2.3
+                 , wai-logger                    >= 2.2        && < 2.3
+
+executable         yesod-scaffold
+    if flag(library-only)
+        Buildable: False
+
+    main-is:           main.hs
+    hs-source-dirs:    app
+    build-depends:     base
+                     , yesod-scaffold
+                     , yesod
+
+    ghc-options:       -threaded -O2
+
+test-suite test
+    type:              exitcode-stdio-1.0
+    main-is:           main.hs
+    hs-source-dirs:    tests
+    ghc-options:       -Wall
+
+    build-depends: base
+                 , yesod-scaffold
+                 , yesod-test >= 1.2 && < 1.3
+                 , yesod-core
+                 , yesod
+                 , persistent
+                 , persistent-sqlite
+                 , resourcet
+                 , monad-logger
+                 , transformers
+                 , hspec

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git



More information about the Pkg-haskell-commits mailing list