Fix Lua snapshot code to work with children.

It's also way easier to read now
This commit is contained in:
Lucien Greathouse 2019-08-29 17:13:36 -07:00
parent 0f530b7e80
commit 2fb2342fd4
5 changed files with 111 additions and 56 deletions

View file

@ -0,0 +1,20 @@
---
created: "2019-08-30T00:12:56.686707700Z"
creator: insta@0.10.1
source: rojo-test/src/build_test.rs
expression: contents
---
<roblox version="4">
<Item class="ModuleScript" referent="0">
<Properties>
<string name="Name">init_with_children</string>
<string name="Source">-- init.lua</string>
</Properties>
<Item class="ModuleScript" referent="1">
<Properties>
<string name="Name">other</string>
<string name="Source">-- other.lua</string>
</Properties>
</Item>
</Item>
</roblox>