mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Add end-to-end build test for Script.Disabled via .meta.json
This commit is contained in:
parent
2957e8ad73
commit
a02f485040
5 changed files with 31 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
source: rojo-test/src/build_test.rs
|
||||
expression: contents
|
||||
---
|
||||
<roblox version="4">
|
||||
<Item class="Folder" referent="0">
|
||||
<Properties>
|
||||
<string name="Name">script_meta_disabled</string>
|
||||
</Properties>
|
||||
<Item class="Script" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">hello</string>
|
||||
<bool name="Disabled">true</bool>
|
||||
<string name="Source">-- This script should be marked 'Disabled'</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "script_meta_disabled",
|
||||
"tree": {
|
||||
"$path": "folder"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"properties": {
|
||||
"Disabled": true
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
-- This script should be marked 'Disabled'
|
||||
|
|
@ -36,6 +36,7 @@ gen_build_tests! {
|
|||
plain_gitkeep,
|
||||
rbxm_in_folder,
|
||||
rbxmx_in_folder,
|
||||
script_meta_disabled,
|
||||
server_in_folder,
|
||||
server_init,
|
||||
txt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue