aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
authorEduardo Julian2022-03-30 21:25:53 -0400
committerEduardo Julian2022-03-30 21:25:53 -0400
commit8eb86ed366b2305751f2e831c7a081ffcca82c89 (patch)
treef8da5967f61d115414b3655dd9045cef370c8d5b /lux-js
parent4326d69ab717683449bf37bf8dd170c83455c0c0 (diff)
De-sigil-ification: /
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/commands.md8
-rw-r--r--lux-js/source/program.lux4
2 files changed, 10 insertions, 2 deletions
diff --git a/lux-js/commands.md b/lux-js/commands.md
index a7859d1e0..2cd22edc7 100644
--- a/lux-js/commands.md
+++ b/lux-js/commands.md
@@ -47,5 +47,13 @@ cd ~/lux/stdlib/ \
```
cd ~/lux/lux-js/ \
&& mvn install:install-file -Dfile=target/program.js -DgroupId=com.github.luxlang -DartifactId=lux-js -Dversion=0.6.6-SNAPSHOT -Dpackaging=js
+
+cd ~/lux/lux-js/ && mvn deploy:deploy-file \
+-Durl=https://USERNAME:PASSWORD@oss.sonatype.org/content/repositories/snapshots/ \
+-Dfile=target/program.js \
+-DgroupId=com.github.luxlang \
+-DartifactId=lux-js \
+-Dversion=0.7.0-SNAPSHOT \
+-Dpackaging=js
```
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 0156887b7..678418bca 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -654,7 +654,7 @@
(_.the "argv")
(_.do "slice" (list (_.int +2))))
no_inputs (_.array (list))]
- (_.statement (_.apply/1 (_.apply/1 program (runtime.lux//program_args (_.? on_node_js?
+ (_.statement (_.apply_1 (_.apply_1 program (runtime.lux//program_args (_.? on_node_js?
node_js_inputs
no_inputs)))
(_.string "")))))
@@ -700,7 +700,7 @@
(def: (scope body)
(-> _.Statement _.Statement)
- (_.statement (_.apply/* (_.closure (list) body)
+ (_.statement (_.apply_* (_.closure (list) body)
(list))))
(def: (lux_compiler it)