amxyz

package.yaml

Sep 25th, 2026
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | Source Code | 0 0
  1. name: espial
  2. version: "0.0.10"
  3.  
  4. dependencies:
  5.  
  6. #- base >=4.9.1.0 && <5
  7. #- base >=4.18.1.0 && <5
  8. - base
  9. - base64
  10. - cryptohash-sha256
  11. - yesod >=1.6 && <1.8
  12. - yesod-core >=1.6 && <1.8
  13. - yesod-auth >=1.6 && <1.8
  14. - yesod-static >=1.6 && <1.8
  15. - yesod-form >=1.6 && <1.8
  16. - yesod-newsfeed
  17. - classy-prelude >=1.4 && <1.6
  18. - classy-prelude-conduit >=1.4 && <1.6
  19. - classy-prelude-yesod >=1.4 && <1.6
  20. - bytestring >=0.11.5 && <0.13
  21. - text >=2 && <3
  22. - persistent >=2.14 && <2.19
  23. - persistent-mysql >=2.14 && <2.19
  24. - mysql >= 0.1.4
  25. - persistent-template >=2.12 && <2.13
  26. - template-haskell
  27. - shakespeare >=2.0 && <2.3
  28. - hjsmin >=0.1 && <0.3
  29. - monad-control >=0.3 && <1.1
  30. - wai-extra >=3.0 && <3.2
  31. - yaml >=0.11 && <0.12
  32. - http-client-tls >=0.3 && <0.5
  33. - http-conduit >=2.3 && <2.4
  34. - directory >=1.1 && <1.4
  35. - warp >=3.0 && <3.5
  36. - data-default
  37. - aeson >=2.0
  38. - conduit >=1.0 && <2.0
  39. - monad-logger >=0.3 && <0.4
  40. - fast-logger >=2.2 && <4.0
  41. - wai-logger
  42. - file-embed
  43. - safe
  44. - unordered-containers
  45. - containers
  46. - vector
  47. - time
  48. - case-insensitive
  49. - wai
  50. - foreign-store
  51.  
  52. - blaze-html
  53. - aeson
  54. - attoparsec
  55. - bcrypt
  56. - entropy
  57. - esqueleto >= 3.5.11.1 && < 3.7
  58. - hscolour
  59. - http-api-data
  60. - http-client
  61. - http-types
  62. - iso8601-time
  63. - microlens
  64. - mtl <2.3
  65. - pretty-show
  66. - transformers >= 0.2.2
  67. - parser-combinators
  68. - html-entities
  69. - connection
  70. - ConfigFile
  71. - mysql-simple
  72. - MissingH
  73. - turtle
  74. - stm
  75. - resourcet
  76. - parsec
  77. - yesod-paginator
  78. - blaze-markup
  79. - ilist
  80. - random-strings
  81. - os-string >= 2.0.0
  82.  
  83.  
  84. # The library contains all of our application code. The executable
  85. # defined below is just a thin wrapper.
  86. library:
  87. source-dirs: src
  88. when:
  89. - condition: (flag(dev)) || (flag(library-only))
  90. then:
  91. ghc-options:
  92. - -Wall
  93. - -fwarn-tabs
  94. - -O0
  95. cpp-options: -DDEVELOPMENT
  96. else:
  97. ghc-options:
  98. - -Wall
  99. - -fwarn-tabs
  100. - -O2
  101.  
  102. # Runnable executable for our application
  103. executables:
  104. espial:
  105. main: main.hs
  106. source-dirs: app
  107. ghc-options:
  108. - -threaded
  109. - -rtsopts
  110. - -with-rtsopts=-N
  111. dependencies:
  112. - espial
  113. when:
  114. - condition: flag(library-only)
  115. buildable: false
  116. migration:
  117. when:
  118. - condition: flag(library-only)
  119. buildable: false
  120. main: Main.hs
  121. source-dirs:
  122. - app/migration
  123. ghc-options: -threaded -rtsopts -with-rtsopts=-N
  124. dependencies:
  125. - espial
  126. - optparse-generic
  127. - optparse-applicative
  128.  
  129. # Test suite
  130. tests:
  131. espial-test:
  132. main: Spec.hs
  133. source-dirs: test
  134. ghc-options: -Wall
  135. dependencies:
  136. - espial
  137. - hspec >=2.0.0
  138. - yesod-test
  139.  
  140. # Define flags used by "yesod devel" to make compilation faster
  141. flags:
  142. library-only:
  143. description: Build for use with "yesod devel"
  144. manual: false
  145. default: false
  146. dev:
  147. description: Turn on development settings, like auto-reload templates.
  148. manual: false
  149. default: false
Add Comment
Please, Sign In to add comment