From f29d0644f15e6548af6d015ef9bb60eb6f846329 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 9 Oct 2021 04:17:44 -0400 Subject: Fixed packaging issue. --- lux-python/commands.md | 10 ++-------- lux-python/project.clj | 4 ++-- lux-python/project.lux | 14 +++++++++++--- 3 files changed, 15 insertions(+), 13 deletions(-) (limited to 'lux-python') diff --git a/lux-python/commands.md b/lux-python/commands.md index f33ea9f3f..177c1ec3c 100644 --- a/lux-python/commands.md +++ b/lux-python/commands.md @@ -12,12 +12,6 @@ cd ~/lux/lux-python/ && lein clean && lein lux auto test cd ~/lux/lux-python/ \ && lux clean \ && lux auto build - -## Build JVM-based compiler -cd ~/lux/lux-python/ \ -&& lux clean \ -&& lux build \ -&& mv target/program.jar jvm_based_compiler.jar ``` # Try @@ -25,7 +19,7 @@ cd ~/lux/lux-python/ \ ``` ## Compile Lux's Standard Library's tests using a JVM-based compiler. cd ~/lux/stdlib/ \ -&& lein clean \ +&& lux 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 ``` @@ -34,6 +28,6 @@ cd ~/lux/stdlib/ \ ``` cd ~/lux/lux-python/ \ -&& mvn install:install-file -Dfile=target/program.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.7.0-SNAPSHOT -Dpackaging=jar ``` diff --git a/lux-python/project.clj b/lux-python/project.clj index 3367a2819..e174ca27d 100644 --- a/lux-python/project.clj +++ b/lux-python/project.clj @@ -1,4 +1,4 @@ -(def version "0.6.0") +(def version "0.6.2") (def repo "https://github.com/LuxLang/lux") (def sonatype-releases "https://oss.sonatype.org/service/local/staging/deploy/maven2/") (def sonatype-snapshots "https://oss.sonatype.org/content/repositories/snapshots/") @@ -6,7 +6,7 @@ (defproject com.github.luxlang/lux-python #=(identity version) :description "A Python compiler for Lux." :url ~repo - :license {:name "Lux License v0.1.1" + :license {:name "Lux License v0.1.2" :url ~(str repo "/blob/master/license.txt")} :scm {:name "git" :url ~(str repo ".git")} diff --git a/lux-python/project.lux b/lux-python/project.lux index 4c0b4dfa4..9a3b08fa9 100644 --- a/lux-python/project.lux +++ b/lux-python/project.lux @@ -1,5 +1,13 @@ ["" - ["identity" ["com.github.luxlang" "lux-python" "0.6.0"] + ["identity" ["com.github.luxlang" "lux-python" "0.6.2"] + "description" "A Python compiler for Lux." + "info" ["url" "https://github.com/LuxLang/lux" + "scm" "https://github.com/LuxLang/lux.git" + "licenses" [["name" "Lux License v0.1.2" + "url" "https://github.com/LuxLang/lux/blob/master/license.txt" + "type" "repo"]] + "developers" [["name" "Eduardo Julian" + "url" "https://github.com/eduardoejp"]]] "deploy_repositories" ["snapshots" "https://oss.sonatype.org/content/repositories/snapshots/" "releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"] @@ -7,8 +15,8 @@ "repositories" ["https://oss.sonatype.org/content/repositories/snapshots/" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"] - "compiler" ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"] - "dependencies" [["com.github.luxlang" "stdlib" "0.6.0" "tar"] + "compiler" ["com.github.luxlang" "lux-jvm" "0.6.2" "jar"] + "dependencies" [["com.github.luxlang" "stdlib" "0.6.2" "tar"] ["org.python" "jython-standalone" "2.7.2" "jar"]] "program" "program"]] -- cgit v1.2.3