aboutsummaryrefslogtreecommitdiff
path: root/commands.md
diff options
context:
space:
mode:
authorEduardo Julian2020-07-01 19:09:53 -0400
committerEduardo Julian2020-07-01 19:09:53 -0400
commit23ad698f1ad87f9e9838c1e7df1809991c6a1d18 (patch)
tree752c4cb6fdb709c88e7c82fffd838ac49f836aa4 /commands.md
parent5d2512af61ac17bca25a4790ea01c24f7d2415da (diff)
WIP: Leiningen integration with the new JVM compiler.
Diffstat (limited to 'commands.md')
-rw-r--r--commands.md26
1 files changed, 21 insertions, 5 deletions
diff --git a/commands.md b/commands.md
index c8262e479..bdcd22d38 100644
--- a/commands.md
+++ b/commands.md
@@ -66,10 +66,11 @@ cd ~/lux/stdlib/ && lein clean && lein with-profile bibliotheca lux auto test
cd ~/lux/stdlib/ && lein with-profile bibliotheca lux auto test
```
-## Install
+## Deploy
```
cd ~/lux/stdlib/ && lein install
+cd ~/lux/stdlib/ && mvn install:install-file -Dfile=target/library.tar -DgroupId=com.github.luxlang -DartifactId=stdlib -Dversion=0.6.0-SNAPSHOT -Dpackaging=tar
```
## Generate documentation
@@ -286,13 +287,13 @@ cd ~/lux/lux-r/ && lein lux auto build
cd ~/lux/lux-r/ && lein clean && lein lux auto build
```
-# REPL
+## REPL
```
cd ~/lux/lux-r/ && java -jar target/program.jar repl --source ~/lux/stdlib/source --target ~/lux/stdlib/target
```
-# Try
+## Try
```
cd ~/lux/lux-r/ && time java -jar target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux
@@ -319,13 +320,13 @@ cd ~/lux/lux-jvm/ && lein lux auto build
cd ~/lux/lux-jvm/ && lein clean && lein lux auto build
```
-# REPL
+## REPL
```
cd ~/lux/lux-jvm/ && java -jar target/program.jar repl --source ~/lux/stdlib/source --target ~/lux/stdlib/target
```
-# Try
+## Try
```
cd ~/lux/lux-jvm/ && time java -jar target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux
@@ -336,3 +337,18 @@ cd ~/lux/lux-jvm/ && java -jar target/program.jar export --source ~/lux/stdlib/s
cd ~/lux/stdlib/target/ && java -jar program.jar
```
+## Deploy
+
+```
+mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-jvm -Dversion=0.6.0-SNAPSHOT -Dpackaging=jar
+```
+
+# Compiler trial
+
+## Build
+
+```
+cd ~/lux/lux-trial/ && lein clean && lein lux build
+cd ~/lux/lux-trial/target/ && java -jar program.jar
+```
+