summaryrefslogtreecommitdiff
path: root/app/exe.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/exe.hs')
-rw-r--r--app/exe.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/exe.hs b/app/exe.hs
new file mode 100644
index 0000000..8171160
--- /dev/null
+++ b/app/exe.hs
@@ -0,0 +1,13 @@
+module Main where
+
+import StackWrapper
+
+import System.Process
+import System.Environment
+
+main :: IO ()
+main =
+ run $ do
+ name <- getProgName
+ args <- getArgs
+ callProcess "stack" ("exec":"--":name:args)