Tools
Compiling
You can run
rcc
to compile.
This will grab the src
directory and generate a out
directory with the compiled code and include
directory with the dependencies.
Note: You can also use
-o
to specify the output directory
rcc src -o out
, but include cannot be changed.
Building
If you are using Rojo, you can run
rcc build myFile.rbxlx
to directly compile and build the game via Rojo.
Installing a Compiler
You can install a compiler by running
rcc install <compiler> # Run as administrator or sudo depending on the path you are planning to add it to
where <compiler>
is the name of the compiler you want to install.
You can ready about each compiler in the languages section.
Updating
You can update the compiler by running
rcc update <compiler> # Run as administrator or sudo depending on the path you are planning to add it to
This will delete the old compiler and install the new one.
Uninstalling
You can uninstall the compiler by running
rcc uninstall <compiler> # Run as administrator or sudo depending on the path you are planning to add it to
Include
You can use rcc include
to install a library from Wally.
Example:
rcc include @roblox/roact
and in python you can use
import roact as Roact