aboutsummaryrefslogtreecommitdiff
path: root/lux-lua/source
diff options
context:
space:
mode:
Diffstat (limited to 'lux-lua/source')
-rw-r--r--lux-lua/source/program.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-lua/source/program.lux b/lux-lua/source/program.lux
index f1a759f2d..ae6f3af2f 100644
--- a/lux-lua/source/program.lux
+++ b/lux-lua/source/program.lux
@@ -866,11 +866,11 @@
(async.future (# world/program.default exit +0)))
(def: (lux_compiler it)
- (-> Any compiler.Custom)
+ (-> Any platform.Custom)
(undefined))
(`` (program: [service cli.service]
- (let [extension ".lua"]
+ (let [context (context.lua (cli.target service))]
(do io.monad
[(~~ (for [@.old [baggage platform]
@.jvm [baggage platform]
@@ -878,7 +878,7 @@
..platform]
(exec (do async.monad
[_ (/.compiler ..lux_compiler
- (context.lua (cli.target service))
+ context
(for [@.old (..expander ..to_host baggage)
@.jvm (..expander ..to_host baggage)
@.lua ..expander])
@@ -901,6 +901,6 @@
(format (cli.target service)
(# file.default separator)
"program"
- extension)])]
+ (value@ context.#artifact_extension context))])]
(..declare_success! []))
(io.io []))))))