packages feed

olwrapper-0.3.7.6: olwrapper.cabal

Name:           olwrapper
Version:        0.3.7.6
Synopsis:       An OpenLayers JavaScript Wrapper and Webframework with snaplet-fay
Description:    test
Author:         Thomas Edelmann
Maintainer:     tomnobleman@gmail.com
Stability:      Experimental
Category:       Web, Map, OpenLayers, Webframework, snaplet-fay, Wrapper
Build-type:     Simple
Cabal-version:  >=1.12
license:        GPL
license-file:   LICENSE

Flag development
  Description:  Whether to build the server in development (interpreted) mode
  Default:      False

library
  hs-source-dirs:      wrapper, web, src, snaplets/fay/src
  default-language:    Haskell2010
  exposed-modules:
    OpenLayers
    OpenLayers.Func
    OpenLayers.Html
    OpenLayers.HtmlInternal
    OpenLayers.Types
    OlApp
  other-modules:
    Tutorial.OlApp
    Tutorial.Traffic
    Index
    Application
    Main
    Site
  other-extensions:    
  build-depends:       
    fay-base                  == 0.19.4.1  ,
    fay-text                  == 0.3.2     ,
    fay-jquery                == 0.6.0.2   ,
    snap                      == 0.13.3.1  ,
    snaplet-fay               >= 0.3       

executable olwrapper
  hs-source-dirs:      src, snaplets/fay/src
  main-is:             Main.hs
  default-language:    Haskell2010
  build-depends:   
    base                      >= 4 && < 4.8,
    bytestring                >= 0.10      ,
    lens                      == 4.4.0.2   ,
    mtl                       >= 2         ,
    text                      >= 0.11      ,
    fay                       == 0.21.2    ,
    fay-text                  == 0.3.2     ,
    fay-jquery                == 0.6.0.2   ,
    snap                      == 0.13.3.1  ,
    snap-core                 == 0.9.6.3   ,
    snap-server               == 0.9.4.5   ,
    snaplet-fay               >= 0.3       ,
    snap-loader-static        == 0.9.0.2

  if flag(development)
    build-depends:  snap-loader-dynamic == 0.10.0.2
    cpp-options:    -DDEVELOPMENT
    ghc-options:    -threaded -w -Wall
  else
    if impl(ghc >= 6.12.0)
      ghc-options:  
                   -threaded -Wall -fwarn-tabs -funbox-strict-fields
                   -fno-warn-orphans -fno-warn-unused-do-bind
    else
      ghc-options:  
                   -threaded -Wall -fwarn-tabs -funbox-strict-fields
                   -fno-warn-orphans

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