From b216900093c905b3b20dd45c69e577b192e2f7a3 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 25 Aug 2021 16:47:50 -0400 Subject: Updates to the Lua compiler. --- lux-python/commands.md | 18 ++---------------- lux-python/project.lux | 2 +- 2 files changed, 3 insertions(+), 17 deletions(-) (limited to 'lux-python') diff --git a/lux-python/commands.md b/lux-python/commands.md index 2e816d319..f33ea9f3f 100644 --- a/lux-python/commands.md +++ b/lux-python/commands.md @@ -9,20 +9,11 @@ cd ~/lux/lux-python/ && lein clean && lein lux auto test ``` ## Develop -cd ~/lux/lux-python/ \ -&& lein clean \ -&& lein lux auto build - cd ~/lux/lux-python/ \ && lux clean \ && lux auto build ## Build JVM-based compiler -cd ~/lux/lux-python/ \ -&& lein clean \ -&& lein lux build \ -&& mv target/program.jar jvm_based_compiler.jar - cd ~/lux/lux-python/ \ && lux clean \ && lux build \ @@ -32,15 +23,10 @@ cd ~/lux/lux-python/ \ # Try ``` -cd ~/lux/stdlib/ \ -&& lein clean \ -&& java -jar ~/lux/lux-python/target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux \ -&& python3 ~/lux/stdlib/target/program.py - ## Compile Lux's Standard Library's tests using a JVM-based compiler. cd ~/lux/stdlib/ \ && lein clean \ -&& java -jar ~/lux/lux-python/jvm_based_compiler.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux \ +&& java -jar ~/lux/lux-python/target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux \ && python3 ~/lux/stdlib/target/program.py ``` @@ -48,6 +34,6 @@ cd ~/lux/stdlib/ \ ``` cd ~/lux/lux-python/ \ -&& mvn install:install-file -Dfile=jvm_based_compiler.jar -DgroupId=com.github.luxlang -DartifactId=lux-python -Dversion=0.6.0-SNAPSHOT -Dpackaging=jar +&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-python -Dversion=0.6.0-SNAPSHOT -Dpackaging=jar ``` diff --git a/lux-python/project.lux b/lux-python/project.lux index 53ffe351b..f429d8687 100644 --- a/lux-python/project.lux +++ b/lux-python/project.lux @@ -1,5 +1,5 @@ {"" - {#identity ["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT"] + {#identity ["com.github.luxlang" "lux-python" "0.6.0-SNAPSHOT"] #deploy_repositories {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/" "releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"} -- cgit v1.2.3