Change JSON model naming behavior.

- JSON model names now come from the file name
- The 'Name' field is now optional for the top-level instance
- Snapshot tests run way faster by executing Rojo directly instead of Cargo
This commit is contained in:
Lucien Greathouse
2019-08-15 14:09:16 -07:00
parent 7575504b80
commit 7d45b45667
9 changed files with 84 additions and 12 deletions

1
Cargo.lock generated
View File

@@ -1533,6 +1533,7 @@ version = "0.1.0"
dependencies = [
"insta 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
"paste 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"rojo 0.5.0-alpha.13",
"tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]