From 4051a1cbe0999ee22bc395b059ea1556bcc002a0 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 1 Sep 2021 01:01:22 -0400 Subject: Updates to the JS compiler. --- lux-js/commands.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lux-js/commands.md') diff --git a/lux-js/commands.md b/lux-js/commands.md index b92d902ef..10029d6a2 100644 --- a/lux-js/commands.md +++ b/lux-js/commands.md @@ -8,8 +8,10 @@ cd ~/lux/lux-js/ && lein clean && lein lux auto test # Build ``` -cd ~/lux/lux-js/ && lein lux auto build -cd ~/lux/lux-js/ && lein clean && lein lux auto build +## Develop +cd ~/lux/lux-js/ \ +&& lein clean \ +&& lein lux auto build ## Build JVM-based compiler cd ~/lux/lux-js/ \ @@ -20,7 +22,7 @@ cd ~/lux/lux-js/ \ ## Use JVM-based compiler to produce a JS/Node-based compiler. cd ~/lux/lux-js/ \ && lein clean \ -&& java -jar jvm_based_compiler.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program \ +&& time java -jar jvm_based_compiler.jar build --source ~/lux/lux-js/source --target ~/lux/lux-js/target --module program \ && mv target/program.js node_based_compiler.js ## Use JS/Node-based compiler to produce another JS/Node-based compiler. -- cgit v1.2.3