Skip to content

open

function open(rootDirectory: string): Package

Constructs a new Package object from the given folder.


Parameters

  • rootDirectory: string - A path to the Roblox project

Example usage

local package = Rostruct.open("projects/MyProject/")

package:build("src/", { Name = "MyProject" })

package:start()