summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Biz/Bild.hs25
1 files changed, 14 insertions, 11 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index 85b62db..14eb397 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -504,17 +504,20 @@ analyze hmap ns = case Map.lookup ns hmap of
builder = Local user,
outPath = outToPath out,
wrapper =
- [ "#!/usr/bin/env bash",
- "guile -C \""
- <> root </> intdir
- <> "\" -e main "
- <> "-s "
- <> Namespace.toPath namespace
- <> " \"$@\""
- ]
- |> joinWith "\n"
- |> Text.pack
- |> Just,
+ (out == Meta.None)
+ ?: ( Nothing,
+ [ "#!/usr/bin/env bash",
+ "guile -C \""
+ <> root </> intdir
+ <> "\" -e main "
+ <> "-s "
+ <> Namespace.toPath namespace
+ <> " \"$@\""
+ ]
+ |> joinWith "\n"
+ |> Text.pack
+ |> Just
+ ),
..
}
|> Just