mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Add git metadata handling and integration tests for sync direction defaults
- Introduced new tests for git-based sync direction defaults, verifying the presence of git metadata and correct mappings of changed files to instance references. - Enhanced the `compute_git_metadata` function to include canonical paths for repository roots. - Added multiple test cases to ensure accurate behavior of `changedIds` and `scriptCommittedHashes` based on git status. - Created a new project structure for testing, including various script and model files to facilitate comprehensive testing of git integration. These changes improve the robustness of the git synchronization features and ensure reliable behavior in various scenarios.
This commit is contained in:
parent
7ba04f7f6a
commit
6c0098d839
12 changed files with 1707 additions and 1 deletions
|
|
@ -0,0 +1 @@
|
|||
print("Hello from client")
|
||||
|
|
@ -0,0 +1 @@
|
|||
return "child"
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
local DirModule = {}
|
||||
return DirModule
|
||||
2
rojo-test/serve-tests/git_sync_defaults/src/ModuleA.luau
Normal file
2
rojo-test/serve-tests/git_sync_defaults/src/ModuleA.luau
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
local ModuleA = {}
|
||||
return ModuleA
|
||||
|
|
@ -0,0 +1 @@
|
|||
print("Hello from server")
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"className": "Part",
|
||||
"properties": {
|
||||
"Anchored": true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue