mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Refactored .Net Glue to ship Redot versions of Nuget packages
This commit is contained in:
@@ -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})"))}}})]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user