aboutsummaryrefslogtreecommitdiff
path: root/stdlib/commands.md
diff options
context:
space:
mode:
authorEduardo Julian2021-09-19 03:07:56 -0400
committerEduardo Julian2021-09-19 03:07:56 -0400
commit0bc2c541ab27e44b760618d15a248a794ab2f98e (patch)
treeb040ba5c8558d4b112acc1edc97839e3db4e40dd /stdlib/commands.md
parentad729814254ec3fef8c75b59472bc8108ec7c4c7 (diff)
Added STDLIB documentation for the different target platforms.
Diffstat (limited to 'stdlib/commands.md')
-rw-r--r--stdlib/commands.md27
1 files changed, 26 insertions, 1 deletions
diff --git a/stdlib/commands.md b/stdlib/commands.md
index 542735a39..a2329b8f0 100644
--- a/stdlib/commands.md
+++ b/stdlib/commands.md
@@ -58,10 +58,35 @@ cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with scriptum auto test
+### JVM
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with scriptum build \
-&& java -jar target/program.jar > ~/documentation.md
+&& java -jar target/program.jar > ~/lux/documentation/library/standard/jvm.md
+
+### JS
+cd ~/lux/stdlib/ \
+&& lux clean \
+&& lux with js with scriptum build \
+&& node ~/lux/stdlib/target/program.js > ~/lux/documentation/library/standard/js.md
+
+### Python
+cd ~/lux/stdlib/ \
+&& lux clean \
+&& lux with python with scriptum build \
+&& python3 ~/lux/stdlib/target/program.py > ~/lux/documentation/library/standard/python.md
+
+### Lua
+cd ~/lux/stdlib/ \
+&& lux clean \
+&& lux with lua with scriptum build \
+&& ~/lua-5.4.2/install/bin/lua ~/lux/stdlib/target/program.lua > ~/lux/documentation/library/standard/lua.md
+
+### Ruby
+cd ~/lux/stdlib/ \
+&& lux clean \
+&& lux with ruby with scriptum build \
+&& RUBY_THREAD_VM_STACK_SIZE=15700000 ruby ~/lux/stdlib/target/program.rb | tee ~/lux/documentation/library/standard/ruby.md
```
---