mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +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:
parent
571ef3060a
commit
6a1fffd1ce
12 changed files with 134 additions and 11 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue