aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
authorEduardo Julian2022-08-14 21:02:22 -0400
committerEduardo Julian2022-08-14 21:02:22 -0400
commit0f9bc13a34b729d9ae9db31276feb2a66785d06b (patch)
tree25f8ec214bfe56f7dc7d8be637b06d1ab6a425f6 /lux-js
parent24e4ccef052816f17ccfc55f2e515a07cc9c2067 (diff)
Documentation changes for v0.7.0
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/commands.md20
-rw-r--r--lux-js/project.lux12
2 files changed, 25 insertions, 7 deletions
diff --git a/lux-js/commands.md b/lux-js/commands.md
index 0c724a3b5..4b27b62df 100644
--- a/lux-js/commands.md
+++ b/lux-js/commands.md
@@ -44,7 +44,7 @@ cd ~/lux/stdlib/ \
```
cd ~/lux/lux-js/ \
-&& mvn install:install-file -Dfile=target/program.js -DgroupId=com.github.luxlang -DartifactId=lux-js -Dversion=0.7.0-SNAPSHOT -Dpackaging=js
+&& mvn install:install-file -Dfile=target/program.js -DgroupId=com.github.luxlang -DartifactId=lux-js -Dversion=0.7.0 -Dpackaging=js
cd ~/lux/lux-js/ && mvn deploy:deploy-file \
-Durl=https://$NEXUS_USERNAME:$NEXUS_PASSWORD@oss.sonatype.org/content/repositories/snapshots/ \
@@ -55,3 +55,21 @@ cd ~/lux/lux-js/ && mvn deploy:deploy-file \
-Dpackaging=js
```
+# Release
+
+```
+LUX_PROJECT=lux-js && \
+LUX_VERSION=0.7.0 && \
+cd ~/lux/$LUX_PROJECT/ && \
+lux pom && \
+mv pom.xml RELEASE/$LUX_PROJECT-$LUX_VERSION.pom && \
+mv target/program.js RELEASE/$LUX_PROJECT-$LUX_VERSION.js && \
+cd RELEASE && \
+touch README.md && \
+zip $LUX_PROJECT-$LUX_VERSION-sources.jar README.md && \
+zip $LUX_PROJECT-$LUX_VERSION-javadoc.jar README.md && \
+zip $LUX_PROJECT-$LUX_VERSION.jar README.md && \
+rm README.md && \
+for file in *.*; do gpg -ab $file; done
+```
+
diff --git a/lux-js/project.lux b/lux-js/project.lux
index 7112c796f..24b4504ce 100644
--- a/lux-js/project.lux
+++ b/lux-js/project.lux
@@ -1,13 +1,13 @@
[""
- ["identity" ["com.github.luxlang" "lux-js" "0.7.0-SNAPSHOT"]
- "info" ["url" "https://github.com/LuxLang/lux"
+ ["identity" ["com.github.luxlang" "lux-js" "0.7.0"]
+ "info" ["description" "A JavaScript compiler for Lux."
+ "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"]]]
- "description" "A JavaScript compiler for Lux."
"deploy_repositories" {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
"releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"}
@@ -15,15 +15,15 @@
"repositories" ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- "dependencies" [... ["com.github.luxlang" "stdlib" "0.6.5" "tar"]
+ "dependencies" [... ["com.github.luxlang" "stdlib" "0.7.0" "tar"]
]
"program" program._]
"js"
- ["lux" ["com.github.luxlang" "lux-js" "0.7.0-SNAPSHOT" "js"]]
+ ["lux" ["com.github.luxlang" "lux-js" "0.7.0" "js"]]
"jvm"
- ["lux" ["com.github.luxlang" "lux-jvm" "0.7.0-SNAPSHOT" "jar"]
+ ["lux" ["com.github.luxlang" "lux-jvm" "0.7.0" "jar"]
"dependencies" [["com.github.luxlang" "lux-jvm-function" "0.6.5" "jar"]
["org.openjdk.nashorn" "nashorn-core" "15.1" "jar"]]]]