summaryrefslogtreecommitdiff
path: root/hadrian/src/Settings/Builders/Alex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Settings/Builders/Alex.hs')
-rw-r--r--hadrian/src/Settings/Builders/Alex.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/hadrian/src/Settings/Builders/Alex.hs b/hadrian/src/Settings/Builders/Alex.hs
new file mode 100644
index 0000000000..e0ef1367f7
--- /dev/null
+++ b/hadrian/src/Settings/Builders/Alex.hs
@@ -0,0 +1,8 @@
+module Settings.Builders.Alex (alexBuilderArgs) where
+
+import Settings.Builders.Common
+
+alexBuilderArgs :: Args
+alexBuilderArgs = builder Alex ? mconcat [ arg "-g"
+ , arg =<< getInput
+ , arg "-o", arg =<< getOutput ]