mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Add project configuration and test files in JSON5 format
- Introduced new configuration files for testing, including `default.project.json5`, `client_in_folder`, and others. - Updated existing project files to use JSON5 format, ensuring consistency across configurations. - Added new Lua scripts and model files to support various test cases. - Adjusted snapshot files to align with the new project structure and properties.
This commit is contained in:
parent
779e3de0ae
commit
84f76d48fc
118 changed files with 75 additions and 97 deletions
|
|
@ -354,12 +354,12 @@ pub fn syncback_project<'sync>(
|
|||
);
|
||||
}
|
||||
|
||||
// TODO handle meta.json files in this branch. Right now, we perform
|
||||
// TODO handle meta.json5 files in this branch. Right now, we perform
|
||||
// syncback if a node has `$path` set but the Middleware aren't aware
|
||||
// that the Instances they're running on originate in a project.json.
|
||||
// As a result, the `meta.json` syncback code is hardcoded to not work
|
||||
// that the Instances they're running on originate in a project.json5.
|
||||
// As a result, the `meta.json5` syncback code is hardcoded to not work
|
||||
// if the Instance originates from a project file. However, we should
|
||||
// ideally use a .meta.json over the project node if it exists already.
|
||||
// ideally use a .meta.json5 over the project node if it exists already.
|
||||
if node.path.is_some() {
|
||||
// Since the node has a path, we have to run syncback on it.
|
||||
let node_path = node.path.as_ref().map(PathNode::path).expect(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue