Refactored .Net Glue to ship Redot versions of Nuget packages

This commit is contained in:
Kitsune4295
2025-07-21 20:08:55 -05:00
parent 502a4d18f7
commit 032dc7946a
49 changed files with 119 additions and 94 deletions

View File

@@ -13,7 +13,7 @@ public class ScriptPathAttributeGeneratorTests
private static (string, SourceText) MakeAssemblyScriptTypesGeneratedSource(ICollection<string> types)
{
return (
Path.Combine("Godot.SourceGenerators", "Godot.SourceGenerators.ScriptPathAttributeGenerator", "AssemblyScriptTypes.generated.cs"),
Path.Combine("Redot.SourceGenerators", "Godot.SourceGenerators.ScriptPathAttributeGenerator", "AssemblyScriptTypes.generated.cs"),
SourceText.From($$"""
[assembly:Godot.AssemblyHasScriptsAttribute(new System.Type[] {{{string.Join(", ", types.Select(type => $"typeof({type})"))}}})]