Advertisement
Guest User

demo.cabal

a guest
Mar 12th, 2016
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. name: demo
  2. version: 0.0.0
  3. cabal-version: >= 1.8
  4. build-type: Simple
  5.  
  6. Flag dev
  7. Description: Turn on development settings, like auto-reload templates.
  8. Default: False
  9.  
  10. Flag library-only
  11. Description: Build for use with "yesod devel"
  12. Default: False
  13.  
  14. library
  15. hs-source-dirs: ., app
  16. exposed-modules: Application
  17. Foundation
  18. Import
  19. Import.NoFoundation
  20. Model
  21. Settings
  22. Settings.StaticFiles
  23. Handler.Common
  24. Handler.Home
  25. Handler.Comment
  26.  
  27. if flag(dev) || flag(library-only)
  28. cpp-options: -DDEVELOPMENT
  29. ghc-options: -Wall -fwarn-tabs -O0
  30. else
  31. ghc-options: -Wall -fwarn-tabs -O2
  32.  
  33. extensions: TemplateHaskell
  34. QuasiQuotes
  35. OverloadedStrings
  36. NoImplicitPrelude
  37. MultiParamTypeClasses
  38. TypeFamilies
  39. GADTs
  40. GeneralizedNewtypeDeriving
  41. FlexibleContexts
  42. FlexibleInstances
  43. EmptyDataDecls
  44. NoMonomorphismRestriction
  45. DeriveDataTypeable
  46. ViewPatterns
  47. TupleSections
  48. RecordWildCards
  49.  
  50. build-depends: base >= 4 && < 5
  51. , yesod >= 1.4.1 && < 1.5
  52. , yesod-core >= 1.4.17 && < 1.5
  53. , yesod-auth >= 1.4.0 && < 1.5
  54. , yesod-static >= 1.4.0.3 && < 1.6
  55. , yesod-form >= 1.4.0 && < 1.5
  56. , classy-prelude >= 0.10.2
  57. , classy-prelude-conduit >= 0.10.2
  58. , classy-prelude-yesod >= 0.10.2
  59. , bytestring >= 0.9 && < 0.11
  60. , text >= 0.11 && < 2.0
  61. , persistent >= 2.0 && < 2.3
  62. , persistent-sqlite >= 2.1.1 && < 2.3
  63. , persistent-template >= 2.0 && < 2.3
  64. , template-haskell
  65. , shakespeare >= 2.0 && < 2.1
  66. , hjsmin >= 0.1 && < 0.2
  67. , monad-control >= 0.3 && < 1.1
  68. , wai-extra >= 3.0 && < 3.1
  69. , yaml >= 0.8 && < 0.9
  70. , http-conduit >= 2.1 && < 2.2
  71. , directory >= 1.1 && < 1.3
  72. , warp >= 3.0 && < 3.3
  73. , data-default
  74. , aeson >= 0.6 && < 0.12
  75. , conduit >= 1.0 && < 2.0
  76. , monad-logger >= 0.3 && < 0.4
  77. , fast-logger >= 2.2 && < 2.5
  78. , wai-logger >= 2.2 && < 2.3
  79. , file-embed
  80. , safe
  81. , unordered-containers
  82. , containers
  83. , vector
  84. , time
  85. , case-insensitive
  86. , wai
  87.  
  88. executable demo
  89. if flag(library-only)
  90. Buildable: False
  91.  
  92. main-is: main.hs
  93. hs-source-dirs: app
  94. build-depends: base, demo
  95.  
  96. ghc-options: -threaded -rtsopts -with-rtsopts=-N
  97.  
  98. test-suite test
  99. type: exitcode-stdio-1.0
  100. main-is: Spec.hs
  101. hs-source-dirs: test
  102. ghc-options: -Wall
  103.  
  104. extensions: TemplateHaskell
  105. QuasiQuotes
  106. OverloadedStrings
  107. NoImplicitPrelude
  108. CPP
  109. MultiParamTypeClasses
  110. TypeFamilies
  111. GADTs
  112. GeneralizedNewtypeDeriving
  113. FlexibleContexts
  114. FlexibleInstances
  115. EmptyDataDecls
  116. NoMonomorphismRestriction
  117. DeriveDataTypeable
  118. ViewPatterns
  119. TupleSections
  120.  
  121. build-depends: base
  122. , demo
  123. , yesod-test >= 1.5.0.1 && < 1.6
  124. , yesod-core
  125. , yesod
  126. , persistent
  127. , persistent-sqlite
  128. , resourcet
  129. , monad-logger
  130. , shakespeare
  131. , transformers
  132. , hspec >= 2.0.0
  133. , classy-prelude
  134. , classy-prelude-yesod
  135. , aeson
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement