-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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>
- Loading branch information
1 parent
571ef30
commit 6a1fffd
Showing
12 changed files
with
134 additions
and
11 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
rojo-test/build-test-snapshots/rojo_test__build_test__infer_service_name.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
source: rojo-test/src/build_test.rs | ||
expression: contents | ||
--- | ||
<roblox version="4"> | ||
<Item class="DataModel" referent="0"> | ||
<Properties> | ||
<string name="Name">infer-service-name</string> | ||
</Properties> | ||
<Item class="HttpService" referent="1"> | ||
<Properties> | ||
<string name="Name">HttpService</string> | ||
<bool name="HttpEnabled">true</bool> | ||
</Properties> | ||
</Item> | ||
<Item class="ReplicatedStorage" referent="2"> | ||
<Properties> | ||
<string name="Name">ReplicatedStorage</string> | ||
</Properties> | ||
<Item class="ModuleScript" referent="3"> | ||
<Properties> | ||
<string name="Name">Main</string> | ||
<string name="Source">-- hello, from main</string> | ||
</Properties> | ||
</Item> | ||
</Item> | ||
</Item> | ||
</roblox> |
26 changes: 26 additions & 0 deletions
26
rojo-test/build-test-snapshots/rojo_test__build_test__infer_starter_player.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
source: rojo-test/src/build_test.rs | ||
expression: contents | ||
--- | ||
<roblox version="4"> | ||
<Item class="DataModel" referent="0"> | ||
<Properties> | ||
<string name="Name">infer-service-name</string> | ||
</Properties> | ||
<Item class="StarterPlayer" referent="1"> | ||
<Properties> | ||
<string name="Name">StarterPlayer</string> | ||
</Properties> | ||
<Item class="StarterCharacterScripts" referent="2"> | ||
<Properties> | ||
<string name="Name">StarterCharacterScripts</string> | ||
</Properties> | ||
</Item> | ||
<Item class="StarterPlayerScripts" referent="3"> | ||
<Properties> | ||
<string name="Name">StarterPlayerScripts</string> | ||
</Properties> | ||
</Item> | ||
</Item> | ||
</Item> | ||
</roblox> |
16 changes: 16 additions & 0 deletions
16
rojo-test/build-tests/infer_service_name/default.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "infer-service-name", | ||
"tree": { | ||
"$className": "DataModel", | ||
"ReplicatedStorage": { | ||
"Main": { | ||
"$path": "main.lua" | ||
} | ||
}, | ||
"HttpService": { | ||
"$properties": { | ||
"HttpEnabled": true | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- hello, from main |
11 changes: 11 additions & 0 deletions
11
rojo-test/build-tests/infer_starter_player/default.project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "infer-service-name", | ||
"tree": { | ||
"$className": "DataModel", | ||
|
||
"StarterPlayer": { | ||
"StarterPlayerScripts": {}, | ||
"StarterCharacterScripts": {} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- hello, from main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ children: | |
- /foo | ||
- Child | ||
- $className: Model | ||
- Folder | ||
relevant_paths: [] | ||
context: {} | ||
name: Child | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters