Skip to content

CLI - v0.0.9

Choose a tag to compare

@cameronpcampbell cameronpcampbell released this 25 Aug 22:01
· 36 commits to main since this release

Changes

  • Adds support for Luaurc aliases in derives. It attempts to find a Luaurc file either at the input directory or the parent of the input directory. You can also manually specify a Luaurc file via the luaurc flag.
  • Throws an error if the input doesn't exist or isn't a directory.

Fixes

  • Fixed issue where renaming a directory did not update the corresponding .model.json files.
  • Fixed issue where deleted rsml files weren't removed from the internal dependencies map.

Setup

  1. Add the CLI to your rokit config.
rsml = "rbx-rsml/rsml-cli@0.0.9"
  1. Run the CLI.
rsml watch <project_path>
// rsml watch /src

You can optionally define a different output directory and luaurc file path.

rsml watch <project_path> --output <output_path> --luaurc <luaurc_path>
// rsml watch /src --output /dist --luaurc /configs/.luaurc
  1. Rojo currently does not support StyleSheet's PropertiesSerialize property - so you will need to rely on the Rojo Roblox Studio Plugin here (Rojo.rbxm) for the time being. Note that you should only need the Studio plugin and not the server.