rojo-selene-luau-template/README.md

2.2 KiB

Template Repository

Meant to be used as a template when creating new repositories.

The default project json is a little advanced for some individuals' tastes. You are welcome to switch it out, or use one of the other provided project template files.

Uses

  • Selene for linting
  • Rojo for syncing
  • Luau Language Server for syntax, intellisense, type checking, and intellisense syncing

How To Use

Go ahead and create a new repository by selecting the plus icon on the top right of the screen.

Select the plus icon in the top right corner of your screen

A dropdown menu will open, pick the first option.

Select New repository

When creating a new repository, you will be prompted with the chance to choose the template for your new repo. Select this repository, and then select the options shown below.

Git content, Webhooks, Topics, Issue Labels, and Branch protection were selected underneath the chosen template repo

Installation

  • Luau Language Server Link

    • Has an optional Roblox Studio plugin which allows for you to have intellisense for in-studio assets like Instances.
  • Rojo (One way syncing) Link

    • You will need the Roblox Studio pair version of this extension.
  • Selene Linting (Preferably download locally via cargo{rust}) Link

  • Stylua (Styling/Formatting) Link

Info

Use the init.meta.json to ignore descendant/neighbor files when syncing. This means that it will not overwrite non rojo files that may be present only in Roblox Studio.

Clone this file into whatever folder this functionality would be applicable to you.

Branches

The repository has two protected branches.

  • main
    • Does not allow for code to be pushed to main, and merging a branch into main requires approval before doing so.
  • testing
    • Does not allow for code to be pushed to testing, however merging is permitted as this branch is intended for testing code.