Better scaffolded cabal file
This commit is contained in:
parent
0d88bbf741
commit
6c58728ad3
@ -26,10 +26,6 @@ library
|
|||||||
else
|
else
|
||||||
Buildable: False
|
Buildable: False
|
||||||
|
|
||||||
if os(windows)
|
|
||||||
cpp-options: -DWINDOWS
|
|
||||||
|
|
||||||
hs-source-dirs: .
|
|
||||||
exposed-modules: Application
|
exposed-modules: Application
|
||||||
other-modules: Foundation
|
other-modules: Foundation
|
||||||
Model
|
Model
|
||||||
@ -49,42 +45,24 @@ executable ~project~
|
|||||||
else
|
else
|
||||||
ghc-options: -Wall -threaded -O0
|
ghc-options: -Wall -threaded -O0
|
||||||
|
|
||||||
if os(windows)
|
|
||||||
cpp-options: -DWINDOWS
|
|
||||||
|
|
||||||
main-is: main.hs
|
main-is: main.hs
|
||||||
hs-source-dirs: .
|
|
||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
, yesod >= 0.9 && < 0.10
|
, yesod >= 0.9 && < 0.10
|
||||||
, yesod-core
|
, yesod-core >= 0.9.3 && < 0.10
|
||||||
, yesod-auth
|
, yesod-auth >= 0.7.3 && < 0.8
|
||||||
, yesod-static
|
, yesod-static >= 0.3.1 && < 0.4
|
||||||
, yesod-default
|
, yesod-default >= 0.3.1 && < 0.4
|
||||||
, blaze-html
|
, yesod-form >= 0.3.3 && < 0.4
|
||||||
, yesod-form
|
, mime-mail >= 0.3.0.3 && < 0.4
|
||||||
, mime-mail
|
, clientsession >= 0.7.3 && < 0.8
|
||||||
, clientsession
|
, bytestring >= 0.9 && < 0.10
|
||||||
, wai-extra
|
, text >= 0.11 && < 0.12
|
||||||
, directory
|
, persistent >= 0.6.2 && < 0.7
|
||||||
, bytestring
|
, persistent-~backendLower~ >= 0.6 && < 0.7
|
||||||
, text
|
|
||||||
, persistent
|
|
||||||
, persistent-template
|
|
||||||
, persistent-~backendLower~ >= 0.6 && < 0.7
|
|
||||||
~packages~
|
|
||||||
, template-haskell
|
, template-haskell
|
||||||
, hamlet >= 0.10 && < 0.11
|
, hamlet >= 0.10 && < 0.11
|
||||||
, shakespeare-css >= 0.10 && < 0.11
|
, shakespeare-css >= 0.10 && < 0.11
|
||||||
, shakespeare-js >= 0.10 && < 0.11
|
, shakespeare-js >= 0.10 && < 0.11
|
||||||
, shakespeare-text >= 0.10 && < 0.11
|
, shakespeare-text >= 0.10 && < 0.11
|
||||||
, hjsmin
|
, hjsmin >= 0.0.14 && < 0.1
|
||||||
, transformers
|
|
||||||
, data-object
|
|
||||||
, data-object-yaml
|
|
||||||
, warp
|
|
||||||
, blaze-builder
|
|
||||||
, cmdargs
|
|
||||||
|
|
||||||
if !os(windows)
|
|
||||||
build-depends: unix
|
|
||||||
|
|||||||
@ -26,12 +26,13 @@ library
|
|||||||
else
|
else
|
||||||
Buildable: False
|
Buildable: False
|
||||||
exposed-modules: Application
|
exposed-modules: Application
|
||||||
hs-source-dirs: .
|
|
||||||
other-modules: Foundation
|
other-modules: Foundation
|
||||||
Settings
|
Settings
|
||||||
Settings.StaticFiles
|
Settings.StaticFiles
|
||||||
Handler.Root
|
Handler.Root
|
||||||
|
|
||||||
|
ghc-options: -Wall -threaded -O0
|
||||||
|
|
||||||
executable ~project~
|
executable ~project~
|
||||||
if flag(devel)
|
if flag(devel)
|
||||||
Buildable: False
|
Buildable: False
|
||||||
@ -40,31 +41,20 @@ executable ~project~
|
|||||||
cpp-options: -DPRODUCTION
|
cpp-options: -DPRODUCTION
|
||||||
ghc-options: -Wall -threaded -O2
|
ghc-options: -Wall -threaded -O2
|
||||||
else
|
else
|
||||||
ghc-options: -Wall -threaded
|
ghc-options: -Wall -threaded -O0
|
||||||
|
|
||||||
main-is: main.hs
|
main-is: main.hs
|
||||||
hs-source-dirs: .
|
|
||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
, yesod-core >= 0.9 && < 0.10
|
, yesod-core >= 0.9.3 && < 0.10
|
||||||
, yesod-static
|
, yesod-static >= 0.3.1 && < 0.4
|
||||||
, yesod-default
|
, yesod-default >= 0.3.1 && < 0.4
|
||||||
, clientsession
|
, clientsession >= 0.7.3 && < 0.8
|
||||||
, wai-extra
|
, bytestring >= 0.9 && < 0.10
|
||||||
, directory
|
, text >= 0.11 && < 0.12
|
||||||
, bytestring
|
|
||||||
, text
|
|
||||||
, template-haskell
|
, template-haskell
|
||||||
, hamlet >= 0.10 && < 0.11
|
, hamlet >= 0.10 && < 0.11
|
||||||
, shakespeare-css >= 0.10 && < 0.11
|
, shakespeare-text >= 0.10 && < 0.11
|
||||||
, shakespeare-js >= 0.10 && < 0.11
|
, wai >= 0.4.2 && < 0.5
|
||||||
, shakespeare-text >= 0.10 && < 0.11
|
, transformers >= 0.2 && < 0.3
|
||||||
, transformers
|
|
||||||
, data-object
|
|
||||||
, data-object-yaml
|
|
||||||
, wai
|
|
||||||
, warp
|
|
||||||
, blaze-builder
|
|
||||||
, cmdargs
|
|
||||||
, data-object
|
|
||||||
, data-object-yaml
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user