mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
This modifies Rojo's build script to throw a fit if we're building a plugin with a semver incompatible version. In the process, it moves the version of the plugin to a file named `Version.txt` that's parsed at runtime. This should be minimally invasive but it's technically worse for performance than the hardcoded table and string we had before. This feels better than a CI check or just manually verifying because it makes it physically impossible for us to forget since Rojo won't build with it being wrong.
27 lines
413 B
JSON
27 lines
413 B
JSON
{
|
|
"name": "Rojo",
|
|
"tree": {
|
|
"$className": "Folder",
|
|
"Plugin": {
|
|
"$path": "src"
|
|
},
|
|
"Packages": {
|
|
"$path": "Packages",
|
|
"Log": {
|
|
"$path": "log"
|
|
},
|
|
"Http": {
|
|
"$path": "http"
|
|
},
|
|
"Fmt": {
|
|
"$path": "fmt"
|
|
},
|
|
"RbxDom": {
|
|
"$path": "rbx_dom_lua"
|
|
}
|
|
},
|
|
"Version": {
|
|
"$path": "Version.txt"
|
|
}
|
|
}
|
|
} |