mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 12:45:05 +00:00
* Add PathNode with optional fields to project. This allows a path to be defined either as `"$path": "src"` or `"$path": { "optional": "src" }`
* Make $path truly optional
* Prevent rojo from erroring if no project node is resolved
* Use match instead of if-statement
* Add end-to-end tests (credit to MobiusCraftFlip for initial scenario)
* Pass option with ref inside instead of reference to option
* Empty commit to restart GitHub Actions
* Simplify build test
* Minimize serve test: it fails
* Simplify serve test even more
* Ignore failing serve test
Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
25 lines
624 B
Plaintext
25 lines
624 B
Plaintext
---
|
|
source: tests/tests/build.rs
|
|
expression: contents
|
|
|
|
---
|
|
<roblox version="4">
|
|
<Item class="Folder" referent="0">
|
|
<Properties>
|
|
<string name="Name">optional</string>
|
|
</Properties>
|
|
<Item class="StringValue" referent="1">
|
|
<Properties>
|
|
<string name="Name">foo-optional</string>
|
|
<string name="Value">Hello, from foo.txt!</string>
|
|
</Properties>
|
|
</Item>
|
|
<Item class="StringValue" referent="2">
|
|
<Properties>
|
|
<string name="Name">foo-required</string>
|
|
<string name="Value">Hello, from foo.txt!</string>
|
|
</Properties>
|
|
</Item>
|
|
</Item>
|
|
</roblox>
|