From 80c727065593a4cadcb1d72c38c8ad5c3bf85acc Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 16 Jul 2020 23:19:57 -0400 Subject: Can get the JS compiler to compile its own source-code. --- commands.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'commands.md') diff --git a/commands.md b/commands.md index 2c2e6b4e8..a0dae0ac4 100644 --- a/commands.md +++ b/commands.md @@ -182,7 +182,12 @@ cd ~/lux/lux-js/ && lein clean && lein lux auto build ``` 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/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/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 ``` -- cgit v1.2.3