2016-04-19 01:26:54 +03:00
|
|
|
import Hledger.Web.Main
|
2014-07-18 02:05:39 +04:00
|
|
|
|
|
|
|
main :: IO ()
|
2016-04-19 01:26:54 +03:00
|
|
|
main = hledgerWebMain
|
2014-07-18 02:05:39 +04:00
|
|
|
|
|
|
|
-- more standard yesod main, for reloading experiments
|
|
|
|
|
2012-11-15 21:48:48 +04:00
|
|
|
-- import Yesod.Default.Config (fromArgs)
|
|
|
|
-- import Yesod.Default.Main (defaultMain)
|
|
|
|
-- import Settings (parseExtra)
|
|
|
|
-- import Application (makeApplication)
|
|
|
|
|
2014-07-18 02:05:39 +04:00
|
|
|
-- import Hledger
|
|
|
|
-- import Hledger.Web (defwebopts)
|
2012-11-15 21:48:48 +04:00
|
|
|
|
2014-07-18 02:05:39 +04:00
|
|
|
-- main = do
|
|
|
|
-- j <- defaultJournal
|
|
|
|
-- defaultMain (fromArgs parseExtra) (makeApplication defwebopts j)
|