mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +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>
15 lines
260 B
JSON
15 lines
260 B
JSON
{
|
|
"name": "optional",
|
|
"tree": {
|
|
"$className": "Folder",
|
|
"foo-required": {
|
|
"$path": "foo.txt"
|
|
},
|
|
"foo-optional":{
|
|
"$path": { "optional": "foo.txt" }
|
|
},
|
|
"bar-optional":{
|
|
"$path": { "optional": "bar.txt" }
|
|
}
|
|
}
|
|
} |