mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
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 Settings.Development (development)
|
||||
import Settings.StaticFiles
|
||||
import Settings ({-widgetFile,-} Extra (..), staticDir)
|
||||
import Settings ({-widgetFile,-} Extra (..))
|
||||
#ifndef DEVELOPMENT
|
||||
import Settings (staticDir)
|
||||
import Text.Jasmine (minifym)
|
||||
#endif
|
||||
import Web.ClientSession (getKey)
|
||||
|
@ -77,19 +77,15 @@ library
|
||||
Hledger.Web.Main
|
||||
Hledger.Web.Options
|
||||
|
||||
-- ghc-options: -Wall -O0 -fno-warn-unused-do-bind
|
||||
cpp-options: -DVERSION="0.19" -DDEVELOPMENT
|
||||
|
||||
-- if flag(library-only)
|
||||
-- Buildable: True
|
||||
-- else
|
||||
-- Buildable: False
|
||||
|
||||
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||
cpp-options: -DVERSION="0.19"
|
||||
if flag(dev) || flag(library-only)
|
||||
cpp-options: -DDEVELOPMENT
|
||||
ghc-options: -Wall -O0
|
||||
else
|
||||
ghc-options: -Wall -O2
|
||||
|
||||
extensions: TemplateHaskell
|
||||
QuasiQuotes
|
||||
|
Loading…
Reference in New Issue
Block a user