aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lux-python/commands.md18
-rw-r--r--lux-python/project.lux2
2 files changed, 3 insertions, 17 deletions
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
@@ -10,20 +10,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 \
&& mv target/program.jar jvm_based_compiler.jar
@@ -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/"}