From 8eb86ed366b2305751f2e831c7a081ffcca82c89 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 30 Mar 2022 21:25:53 -0400 Subject: De-sigil-ification: / --- lux-js/commands.md | 8 ++++++++ lux-js/source/program.lux | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'lux-js') 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) -- cgit v1.2.3