mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 05:06:29 +00:00
* A minimum viable product for init.meta.json * Properties support * Add ignoreUnknownChildren support * Apply requested changes * Use reflection guiding * Add a script to the test * Change to ignoreUnknownInstances * Apply requested changes
57 lines
1.1 KiB
JSON
57 lines
1.1 KiB
JSON
{
|
|
"name": "test-model",
|
|
"class_name": "Tool",
|
|
"properties": {
|
|
"Enabled": {
|
|
"Type": "Bool",
|
|
"Value": true
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"name": "A",
|
|
"class_name": "Folder",
|
|
"properties": {},
|
|
"children": [],
|
|
"metadata": {
|
|
"ignore_unknown_instances": true,
|
|
"source_path": "src/A",
|
|
"project_definition": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Script",
|
|
"class_name": "Script",
|
|
"properties": {
|
|
"Disabled": {
|
|
"Type": "Bool",
|
|
"Value": true
|
|
},
|
|
"Source": {
|
|
"Type": "String",
|
|
"Value": "print(\"Hello, world\")"
|
|
}
|
|
},
|
|
"children": [],
|
|
"metadata": {
|
|
"ignore_unknown_instances": false,
|
|
"source_path": "src/Script",
|
|
"project_definition": null
|
|
}
|
|
}
|
|
],
|
|
"metadata": {
|
|
"ignore_unknown_instances": false,
|
|
"source_path": "src",
|
|
"project_definition": [
|
|
"test-model",
|
|
{
|
|
"class_name": null,
|
|
"children": {},
|
|
"properties": {},
|
|
"ignore_unknown_instances": null,
|
|
"path": "src"
|
|
}
|
|
]
|
|
}
|
|
} |