summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2020-12-29 18:11:29 -0500
committercyfraeviolae <cyfraeviolae>2020-12-31 21:08:39 -0500
commitc145b805ab31ef19f4d5bd8f9a7d82c3a136e0e6 (patch)
tree2bf045c3cb5182320469354c9904447e22e57a10 /app
init
Diffstat (limited to 'app')
-rw-r--r--app/Main.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Main.hs b/app/Main.hs
new file mode 100644
index 0000000..666dde6
--- /dev/null
+++ b/app/Main.hs
@@ -0,0 +1,11 @@
+module Main where
+
+import Lib
+import Toml
+
+main :: IO ()
+main = do
+ manifest <- Lib.loadManifest
+ case manifest of
+ Left errs -> print $ prettyTomlDecodeErrors errs
+ Right manifest -> startApp manifest