summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDaniel Gnoutcheff <gnoutchd@softwarefreedom.org>2017-01-12 17:18:33 -0500
committerDaniel Gnoutcheff <gnoutchd@softwarefreedom.org>2017-01-12 17:18:33 -0500
commit18212a5c21d14e19c6176fd6d3630f088902ec42 (patch)
tree43e851badaaa5058588eb7840490a4a6f440e88b /app
parentfabf030cc6ecc561572a59ab53a779c96a723cf0 (diff)
Add some missing bits
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