summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/main.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/main.hs b/app/main.hs
new file mode 100644
index 0000000..7c6327f
--- /dev/null
+++ b/app/main.hs
@@ -0,0 +1,8 @@
+import Prelude (IO)
+import Yesod.Default.Config (fromArgs)
+import Yesod.Default.Main (defaultMainLog)
+import Settings (parseExtra)
+import Application (makeApplication)
+
+main :: IO ()
+main = defaultMainLog (fromArgs parseExtra) makeApplication