Add dev flags to both the executables

This commit is contained in:
Sibi Prabakaran 2018-08-25 22:12:31 +05:30
parent 64c1f9519e
commit 62944018d8
No known key found for this signature in database
GPG Key ID: D19E3E0EBB557613

View File

@ -147,6 +147,8 @@ executables:
when:
- condition: flag(library-only)
buildable: false
- condition: flag(dev)
cpp-options: -DDEVELOPMENT
stackage-server-cron:
main: stackage-server-cron.hs
@ -161,3 +163,5 @@ executables:
when:
- condition: flag(library-only)
buildable: false
- condition: flag(dev)
cpp-options: -DDEVELOPMENT