aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'lux-ruby')
-rw-r--r--lux-ruby/source/program.lux41
1 files changed, 20 insertions, 21 deletions
diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux
index 123fa1285..bd3f1763e 100644
--- a/lux-ruby/source/program.lux
+++ b/lux-ruby/source/program.lux
@@ -972,27 +972,26 @@
(async.future (# world/program.default exit +0)))
(def: (lux_compiler it)
- (-> Any compiler.Custom)
+ (-> Any platform.Custom)
(undefined))
(program: [service cli.service]
- (let [extension ".rb"]
- (exec
- (do async.monad
- [_ (/.compiler ..lux_compiler
- (context.ruby (cli.target service))
- ..expander
- analysis.bundle
- ..platform
- generation.bundle
- (function.constant extension/bundle.empty)
- ..program
- [Register _.Expression _.Statement]
- ..extender
- service
- [packager.package
- (format (cli.target service)
- (# file.default separator)
- "program")])]
- (..declare_success! []))
- (io.io []))))
+ (exec
+ (do async.monad
+ [_ (/.compiler ..lux_compiler
+ (context.ruby (cli.target service))
+ ..expander
+ analysis.bundle
+ ..platform
+ generation.bundle
+ (function.constant extension/bundle.empty)
+ ..program
+ [Register _.Expression _.Statement]
+ ..extender
+ service
+ [packager.package
+ (format (cli.target service)
+ (# file.default separator)
+ "program")])]
+ (..declare_success! []))
+ (io.io [])))