web: fix ghc/cabal warnings
This commit is contained in:
parent
a39b8f652a
commit
2ed17f29e6
@ -17,8 +17,9 @@ import Network.HTTP.Conduit (Manager)
|
|||||||
-- import qualified Settings
|
-- import qualified Settings
|
||||||
import Settings.Development (development)
|
import Settings.Development (development)
|
||||||
import Settings.StaticFiles
|
import Settings.StaticFiles
|
||||||
import Settings ({-widgetFile,-} Extra (..), staticDir)
|
import Settings ({-widgetFile,-} Extra (..))
|
||||||
#ifndef DEVELOPMENT
|
#ifndef DEVELOPMENT
|
||||||
|
import Settings (staticDir)
|
||||||
import Text.Jasmine (minifym)
|
import Text.Jasmine (minifym)
|
||||||
#endif
|
#endif
|
||||||
import Web.ClientSession (getKey)
|
import Web.ClientSession (getKey)
|
||||||
|
|||||||
@ -77,19 +77,15 @@ library
|
|||||||
Hledger.Web.Main
|
Hledger.Web.Main
|
||||||
Hledger.Web.Options
|
Hledger.Web.Options
|
||||||
|
|
||||||
-- ghc-options: -Wall -O0 -fno-warn-unused-do-bind
|
|
||||||
cpp-options: -DVERSION="0.19" -DDEVELOPMENT
|
|
||||||
|
|
||||||
-- if flag(library-only)
|
-- if flag(library-only)
|
||||||
-- Buildable: True
|
-- Buildable: True
|
||||||
-- else
|
-- else
|
||||||
-- Buildable: False
|
-- Buildable: False
|
||||||
|
|
||||||
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||||
|
cpp-options: -DVERSION="0.19"
|
||||||
if flag(dev) || flag(library-only)
|
if flag(dev) || flag(library-only)
|
||||||
cpp-options: -DDEVELOPMENT
|
cpp-options: -DDEVELOPMENT
|
||||||
ghc-options: -Wall -O0
|
|
||||||
else
|
|
||||||
ghc-options: -Wall -O2
|
|
||||||
|
|
||||||
extensions: TemplateHaskell
|
extensions: TemplateHaskell
|
||||||
QuasiQuotes
|
QuasiQuotes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user