summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
index 0000000..938b9c1
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,12 @@
+{-# LANGUAGE CPP #-}
+
+module Main (main) where
+
+import Distribution.Simple (defaultMain)
+import System.Process (callCommand)
+
+main :: IO ()
+main = do
+ callCommand "./scripts/generate.sh"
+ defaultMain
+ callCommand "./scripts/delete-generated.sh"