Add releavant flag in yesod-bin

This commit is contained in:
Sibi Prabakaran 2017-04-26 20:57:13 +05:30
parent 37c9d25990
commit 35e0095590
No known key found for this signature in database
GPG Key ID: D19E3E0EBB557613

View File

@ -18,11 +18,17 @@ extra-source-files:
refreshing.html
*.pem
flag debug
default: False
description: Print debugging info.
executable yesod
if os(windows)
cpp-options: -DWINDOWS
if os(openbsd)
ld-options: -Wl,-zwxneeded
if flag(debug)
cpp-options: -DDEBUG
build-depends: base >= 4.3 && < 5
, parsec >= 2.1 && < 4