forked from rojo-rbx/rojo
Roundtrip schemas in syncback (#1173)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
---
|
||||
source: tests/rojo_test/syncback_util.rs
|
||||
expression: "String::from_utf8_lossy(&output.stdout)"
|
||||
---
|
||||
Writing default.project.json
|
||||
Writing src/adjacent.luau
|
||||
Writing src/adjacent.meta.json
|
||||
Writing src/init/init.meta.json
|
||||
Writing src/model.model.json
|
||||
Writing src/init
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
source: tests/tests/syncback.rs
|
||||
expression: default.project.json
|
||||
---
|
||||
{
|
||||
"$schema": "rojo/project-schema",
|
||||
"name": "schema_roundtrip",
|
||||
"tree": {
|
||||
"$className": "Folder",
|
||||
"src": {
|
||||
"$path": "src"
|
||||
},
|
||||
"trigger_reserialization": {
|
||||
"$className": "BoolValue",
|
||||
"$properties": {
|
||||
"Value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
source: tests/tests/syncback.rs
|
||||
expression: src/adjacent.meta.json
|
||||
---
|
||||
{
|
||||
"$schema": "rojo/adjacent-meta",
|
||||
"attributes": {
|
||||
"trigger_reserialization": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
source: tests/tests/syncback.rs
|
||||
expression: src/init/init.meta.json
|
||||
---
|
||||
{
|
||||
"$schema": "rojo/init-meta",
|
||||
"attributes": {
|
||||
"trigger_reserialization": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
source: tests/tests/syncback.rs
|
||||
expression: src/model.model.json
|
||||
---
|
||||
{
|
||||
"$schema": "rojo/model.json",
|
||||
"className": "BoolValue"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "rojo/project-schema",
|
||||
"name": "schema_roundtrip",
|
||||
"tree": {
|
||||
"$className": "Folder",
|
||||
"src": {
|
||||
"$path": "src"
|
||||
},
|
||||
"trigger_reserialization": {
|
||||
"$className": "BoolValue"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
-- This file should be ignored.
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"$schema": "rojo/adjacent-meta"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"$schema": "rojo/init-meta"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "rojo/model.json",
|
||||
"className": "BoolValue",
|
||||
"properties": {
|
||||
"Value": true
|
||||
}
|
||||
}
|
||||
BIN
rojo-test/syncback-tests/schema_roundtrip/input.rbxm
Normal file
BIN
rojo-test/syncback-tests/schema_roundtrip/input.rbxm
Normal file
Binary file not shown.
Reference in New Issue
Block a user