aboutsummaryrefslogtreecommitdiff
path: root/commands.md
diff options
context:
space:
mode:
authorEduardo Julian2020-07-24 23:37:00 -0400
committerEduardo Julian2020-07-24 23:37:00 -0400
commit268c21aa6867263b890f5dd2b3038a675bc915f7 (patch)
treeec3f273bb5cac68142001f0f59d2b13490c6b148 /commands.md
parent80c727065593a4cadcb1d72c38c8ad5c3bf85acc (diff)
Can get the JS(JS) compiler to compile.
Diffstat (limited to 'commands.md')
-rw-r--r--commands.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/commands.md b/commands.md
index a0dae0ac4..22e19aae5 100644
--- a/commands.md
+++ b/commands.md
@@ -176,19 +176,18 @@ cd ~/lux/lux-js/ && lein clean && lein lux auto test
```
cd ~/lux/lux-js/ && lein lux auto build
cd ~/lux/lux-js/ && lein clean && lein lux auto build
+cd ~/lux/lux-js/ && lein clean && lein lux build && mv target/program.jar program.jar
```
## Try
```
-cd ~/lux/stdlib/ && lein clean && cd ~/lux/lux-js/ && time java -jar target/program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux
+cd ~/lux/stdlib/ && lein clean && cd ~/lux/lux-js/ && time java -jar program.jar build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux
cd ~/lux/stdlib/target/ && node program.js
-cd ~/lux/lux-js/ && time java -jar program.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program
-cd ~/lux/lux-js/target/ && node program.js
+cd ~/lux/lux-js/ && time java -jar program.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program && mv target/program.js program.js
-cd ~/lux/stdlib/ && lein clean && cd ~/lux/lux-js/ && node program.js build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux
-cd ~/lux/stdlib/target/ && node program.js
+cd ~/lux/stdlib/ && lein clean && cd ~/lux/lux-js/ && time node --stack_size=8192 program.js build --source ~/lux/stdlib/source --target ~/lux/stdlib/target --module test/lux
```
---