summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authormtgmonkey <mtgmonkey@nixos>2025-12-11 18:15:32 +0100
committermtgmonkey <mtgmonkey@nixos>2025-12-11 18:15:32 +0100
commit8a16c6695e62de46c4f0cce22ff48276040bcfff (patch)
tree23786224830e40708ec4af0ae321f30e98f7aa27 /Setup.hs
parentab69702910741af752ff7ee5820bb85b1f3ddd5c (diff)
basic functionality on Wayland and X11
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"