mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 06:05:24 +00:00
Infer class name (#210)
* infer service names * Update project code and add support for StarterPlayer * Store parent_class in InstigatingSource * Update snapshots Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "infer-service-name",
|
||||
"tree": {
|
||||
"$className": "DataModel",
|
||||
"ReplicatedStorage": {
|
||||
"Main": {
|
||||
"$path": "main.lua"
|
||||
}
|
||||
},
|
||||
"HttpService": {
|
||||
"$properties": {
|
||||
"HttpEnabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
rojo-test/build-tests/infer_service_name/main.lua
Normal file
1
rojo-test/build-tests/infer_service_name/main.lua
Normal file
@@ -0,0 +1 @@
|
||||
-- hello, from main
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "infer-service-name",
|
||||
"tree": {
|
||||
"$className": "DataModel",
|
||||
|
||||
"StarterPlayer": {
|
||||
"StarterPlayerScripts": {},
|
||||
"StarterCharacterScripts": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
1
rojo-test/build-tests/infer_starter_player/main.lua
Normal file
1
rojo-test/build-tests/infer_starter_player/main.lua
Normal file
@@ -0,0 +1 @@
|
||||
-- hello, from main
|
||||
Reference in New Issue
Block a user