aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lux-js/commands.md7
-rw-r--r--lux-js/project.clj4
-rw-r--r--lux-js/project.lux33
3 files changed, 30 insertions, 14 deletions
diff --git a/lux-js/commands.md b/lux-js/commands.md
index 6d2b1d54e..5c6da5e51 100644
--- a/lux-js/commands.md
+++ b/lux-js/commands.md
@@ -8,6 +8,11 @@ cd ~/lux/lux-js/ && lein clean && lein lux auto test
# Build
```
+cd ~/lux/lux-js/ \
+&& lux clean \
+&& lux with js build \
+&& mv target/program.js lux.js
+
## Develop
cd ~/lux/lux-js/ \
&& lein clean \
@@ -47,6 +52,6 @@ cd ~/lux/stdlib/ \
```
cd ~/lux/lux-js/ \
-&& mvn install:install-file -Dfile=lux.js -DgroupId=com.github.luxlang -DartifactId=lux-js -Dversion=0.6.0-SNAPSHOT -Dpackaging=js
+&& mvn install:install-file -Dfile=lux.js -DgroupId=com.github.luxlang -DartifactId=lux-js -Dversion=0.7.0-SNAPSHOT -Dpackaging=js
```
diff --git a/lux-js/project.clj b/lux-js/project.clj
index 35ab4a21c..280b9fb90 100644
--- a/lux-js/project.clj
+++ b/lux-js/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-js #=(identity version)
:description "A JavaScript 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-js/project.lux b/lux-js/project.lux
index e9b44e375..5bd0019e2 100644
--- a/lux-js/project.lux
+++ b/lux-js/project.lux
@@ -1,17 +1,28 @@
-{""
- [#identity ["com.github.luxlang" "lux-js" "0.6.0"]
- #description "A JavaScript compiler for Lux."
+[""
+ ["identity" ["com.github.luxlang" "lux-js" "0.6.2"]
+ "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"]]]
+ "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/"}
+ "deploy_repositories" {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
+ "releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"}
- #repositories ["https://oss.sonatype.org/content/repositories/snapshots/"
- "https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
+ "repositories" ["https://oss.sonatype.org/content/repositories/snapshots/"
+ "https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- #dependencies [["com.github.luxlang" "stdlib" "0.6.0" "tar"]]
+ "dependencies" [["com.github.luxlang" "stdlib" "0.6.2" "tar"]]
- #program "program"]
+ "program" "program"]
+
+ "js"
+ ["compiler" ["com.github.luxlang" "lux-js" "0.6.1" "js"]
+ "dependencies" [["org.openjdk.nashorn" "nashorn-core" "15.1" "jar"]]]
"jvm"
- [#compiler ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"]
- #dependencies [["org.openjdk.nashorn" "nashorn-core" "15.1" "jar"]]]}
+ ["compiler" ["com.github.luxlang" "lux-jvm" "0.6.2" "jar"]
+ "dependencies" [["org.openjdk.nashorn" "nashorn-core" "15.1" "jar"]]]]