mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Update project configuration and snapshot files
- Changed the default project file from `plugin.project.json` to `plugin.project.json5` in `build.rs`. - Added new project configuration files in JSON5 format for various test cases, including `default.project.json5`, `client_in_folder`, `csv_bug_145`, and others. - Updated snapshot files to reflect changes in instance structure and properties, ensuring consistency with the new project configurations. - Removed unnecessary script and module instances from snapshot files to streamline the testing process.
This commit is contained in:
parent
d3cc11659a
commit
779e3de0ae
216 changed files with 350 additions and 514 deletions
|
|
@ -3,11 +3,9 @@ source: tests/tests/build.rs
|
|||
expression: contents
|
||||
---
|
||||
<roblox version="4">
|
||||
<Item class="Script" referent="0">
|
||||
<Item class="Folder" referent="0">
|
||||
<Properties>
|
||||
<string name="Name">client_init</string>
|
||||
<token name="RunContext">2</token>
|
||||
<string name="Source">return "From folder/init.client.lua"</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
|
|||
|
|
@ -11,23 +11,11 @@ expression: contents
|
|||
<Properties>
|
||||
<string name="Name">src</string>
|
||||
</Properties>
|
||||
<Item class="ModuleScript" referent="2">
|
||||
<Properties>
|
||||
<string name="Name">outer.spec</string>
|
||||
<string name="Source">-- This file should be included.</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
<Item class="Folder" referent="3">
|
||||
<Item class="Folder" referent="2">
|
||||
<Properties>
|
||||
<string name="Name">subproject</string>
|
||||
</Properties>
|
||||
<Item class="ModuleScript" referent="4">
|
||||
<Properties>
|
||||
<string name="Name">inner</string>
|
||||
<string name="Source">-- This file should be included.</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,5 @@ expression: contents
|
|||
<Properties>
|
||||
<string name="Name">ignore_glob_nested</string>
|
||||
</Properties>
|
||||
<Item class="ModuleScript" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">include</string>
|
||||
<string name="Source">-- This file must be present.</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,5 @@ expression: contents
|
|||
<Properties>
|
||||
<string name="Name">ignore_glob_spec</string>
|
||||
</Properties>
|
||||
<Item class="ModuleScript" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">shouldBeIncluded</string>
|
||||
<string name="Source">-- this file should be present</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
|
|||
|
|
@ -3,16 +3,9 @@ source: tests/tests/build.rs
|
|||
expression: contents
|
||||
---
|
||||
<roblox version="4">
|
||||
<Item class="ModuleScript" referent="0">
|
||||
<Item class="Folder" referent="0">
|
||||
<Properties>
|
||||
<string name="Name">init_with_children</string>
|
||||
<string name="Source">-- init.lua</string>
|
||||
</Properties>
|
||||
<Item class="ModuleScript" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">other</string>
|
||||
<string name="Source">-- other.lua</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
|
|||
|
|
@ -7,11 +7,5 @@ expression: contents
|
|||
<Properties>
|
||||
<string name="Name">module_in_folder</string>
|
||||
</Properties>
|
||||
<Item class="ModuleScript" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">aModule</string>
|
||||
<string name="Source">-- This is a Lua module</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@ source: tests/tests/build.rs
|
|||
expression: contents
|
||||
---
|
||||
<roblox version="4">
|
||||
<Item class="ModuleScript" referent="0">
|
||||
<Item class="Folder" referent="0">
|
||||
<Properties>
|
||||
<string name="Name">module_init</string>
|
||||
<string name="Source">return "From folder/init.lua"</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue