summaryrefslogtreecommitdiff
path: root/main.hs
diff options
context:
space:
mode:
authorClint Adams <clint@softwarefreedom.org>2013-04-19 17:57:46 -0400
committerClint Adams <clint@softwarefreedom.org>2013-04-19 17:57:46 -0400
commit514ff2acff2ba9ad9f809e22fc8ed5a986410e5d (patch)
treebe57afe59d966d65910b4f9336a0370f9ca18b26 /main.hs
Initial stab.
Diffstat (limited to 'main.hs')
-rw-r--r--main.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.hs b/main.hs
new file mode 100644
index 0000000..a059fcb
--- /dev/null
+++ b/main.hs
@@ -0,0 +1,8 @@
+import Prelude (IO)
+import Yesod.Default.Config (fromArgs)
+import Yesod.Default.Main (defaultMain)
+import Settings (parseExtra)
+import Application (makeApplication)
+
+main :: IO ()
+main = defaultMain (fromArgs parseExtra) makeApplication