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

View File

@@ -8,4 +8,7 @@ publish = false
[dependencies]
insta = "0.10.0"
paste = "0.1.5"
tempfile = "3.1.0"
tempfile = "3.1.0"
# We execute Rojo via std::process::Command, so depend on it so it's built!
rojo = { path = "../server" }