mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 06:34:09 +00:00
scriptsOnly mode
This commit is contained in:
parent
6d8c85682d
commit
88beb1d8d7
3 changed files with 225 additions and 8 deletions
|
|
@ -126,6 +126,13 @@ pub struct Project {
|
|||
#[serde(default, skip_serializing_if = "Vec::is_empty")]
|
||||
pub sync_rules: Vec<SyncRule>,
|
||||
|
||||
/// When enabled, only script instances (Script, LocalScript, ModuleScript)
|
||||
/// will be synced to Roblox Studio. All other instances in the project are
|
||||
/// ignored during sync, allowing Studio to maintain its own non-script
|
||||
/// content. Defaults to `false`.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub sync_scripts_only: Option<bool>,
|
||||
|
||||
/// The path to the file that this project came from. Relative paths in the
|
||||
/// project should be considered relative to the parent of this field, also
|
||||
/// given by `Project::folder_location`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue