summaryrefslogtreecommitdiff
path: root/app/main.hs
diff options
context:
space:
mode:
authorDaniel Gnoutcheff <gnoutchd@softwarefreedom.org>2022-01-25 20:04:10 -0500
committerDaniel Gnoutcheff <gnoutchd@softwarefreedom.org>2022-01-25 20:04:10 -0500
commit0a3efc56732f79304845a6e6d381c793f38e6c2c (patch)
treecdd3c1a51c8cca0b0e8dbbb0fa4f860232b0d933 /app/main.hs
parenta1a17acb326020f1b57f587230cb439e901784df (diff)
Port to stack and stackage lts-16.31HEADmaster
Diffstat (limited to 'app/main.hs')
-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