Skip to content

Commit

Permalink
Replace github.com/naminodarie with github.com/kzrnm
Browse files Browse the repository at this point in the history
  • Loading branch information
kzrnm committed Oct 19, 2021
1 parent 5d873f6 commit f1c9597
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 60 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<PackageTags>SourceExpander;ac-library-csharp</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/naminodarie/SourceExpander</PackageProjectUrl>
<RepositoryUrl>https://github.com/naminodarie/SourceExpander</RepositoryUrl>
<PackageReleaseNotes>https://github.com/naminodarie/SourceExpander/blob/master/CHANGELOG.md</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/kzrnm/SourceExpander</PackageProjectUrl>
<RepositoryUrl>https://github.com/kzrnm/SourceExpander</RepositoryUrl>
<PackageReleaseNotes>https://github.com/kzrnm/SourceExpander/blob/master/CHANGELOG.md</PackageReleaseNotes>

<Version>3.2.0</Version>
<AssemblyVersion>3.2.0.100</AssemblyVersion>
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Source generator that embed source codes.

## Status

![build](https://github.com/naminodarie/SourceExpander/workflows/Build-Release-Publish/badge.svg?branch=master)
![build](https://github.com/kzrnm/SourceExpander/workflows/Build-Release-Publish/badge.svg?branch=master)

|Library|NuGet|
|:---|:---|
Expand All @@ -60,7 +60,7 @@ This library require **.NET 5 SDK** or **Visual Studio 16.8** or later because t

### For library user

see [Sample](/Sample) or https://github.com/naminodarie/ac-library-csharp
see [Sample](/Sample) or https://github.com/kzrnm/ac-library-csharp

```
Install-Package SourceExpander
Expand Down Expand Up @@ -92,10 +92,10 @@ class Program
}
}

#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace SourceExpander { public class Expander { [Conditional("EXPANDER")] public static void Expand(string inputFilePath = null, string outputFilePath = null, bool ignoreAnyError = true) { } public static string ExpandString(string inputFilePath = null, bool ignoreAnyError = true) { return ""; } } }
// library code
#endregion Expanded by https://github.com/naminodarie/SourceExpander
#endregion Expanded by https://github.com/kzrnm/SourceExpander
```

### For library developer
Expand Down Expand Up @@ -173,5 +173,5 @@ public class SourceFileInfo

#### EmbeddedSourceCode.GZipBase32768

gzip and [base32768](https://github.com/naminodarie/Base32768/) encoded json.
gzip and [base32768](https://github.com/kzrnm/Base32768/) encoded json.

4 changes: 2 additions & 2 deletions Source/SourceExpander.Generator/CompilationExpander.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ public string ExpandCode(SyntaxTree origTree, CancellationToken cancellationToke
line = sr.ReadLine();
}

sb.AppendLine("#region Expanded by https://github.com/naminodarie/SourceExpander");
sb.AppendLine("#region Expanded by https://github.com/kzrnm/SourceExpander");
if (!string.IsNullOrEmpty(Config.StaticEmbeddingText))
sb.AppendLine(Config.StaticEmbeddingText);
foreach (var s in requiedFiles)
sb.AppendLine(s.CodeBody);
sb.AppendLine("#endregion Expanded by https://github.com/naminodarie/SourceExpander");
sb.AppendLine("#endregion Expanded by https://github.com/kzrnm/SourceExpander");
return sb.ToString();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ static void Main()
" C.P();" ,
" }" ,
"}",
"#region Expanded by https://github.com/naminodarie/SourceExpander",
"#region Expanded by https://github.com/kzrnm/SourceExpander",
"namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } } ",
"#endregion Expanded by https://github.com/naminodarie/SourceExpander").ToLiteral()
"#endregion Expanded by https://github.com/kzrnm/SourceExpander").ToLiteral()
+ "},})}," ,
"};" ,
"}}"))
Expand Down Expand Up @@ -151,9 +151,9 @@ static void Main()
" C.P();" ,
" }" ,
"}",
"#region Expanded by https://github.com/naminodarie/SourceExpander",
"#region Expanded by https://github.com/kzrnm/SourceExpander",
"namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } } ",
"#endregion Expanded by https://github.com/naminodarie/SourceExpander").ToLiteral()
"#endregion Expanded by https://github.com/kzrnm/SourceExpander").ToLiteral()
+ "},})}," ,
"};" ,
"}}"))
Expand Down

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions Test/SourceExpander.Generator.Test/Generate/ConfigTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
{""/home/mine/X/Program2.cs"",SourceCode.FromDictionary(new Dictionary<string,object>{{""path"",""/home/mine/X/Program2.cs""},{""code"","
+ @"using Other;
Expand All @@ -323,9 +323,9 @@ static void M()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down Expand Up @@ -422,9 +422,9 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down Expand Up @@ -519,10 +519,10 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
/* Static Embedding Text */
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
{""/home/mine/Program2.cs"",SourceCode.FromDictionary(new Dictionary<string,object>{{""path"",""/home/mine/Program2.cs""},{""code"","
+ @"using Other;
Expand All @@ -533,10 +533,10 @@ static void M()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
/* Static Embedding Text */
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down Expand Up @@ -633,10 +633,10 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
/* Static Embedding Text */
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
{""/home/mine/Program2.cs"",SourceCode.FromDictionary(new Dictionary<string,object>{{""path"",""/home/mine/Program2.cs""},{""code"","
+ @"using Other;
Expand All @@ -647,10 +647,10 @@ static void M()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
/* Static Embedding Text */
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down Expand Up @@ -742,10 +742,10 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
/* Static Embedding Text */
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+@")]").ReplaceEOL()),
(typeof(ExpandGenerator), "SourceExpander.Expanded.cs", (@"using System.Collections.Generic;
namespace SourceExpander.Expanded{
Expand All @@ -763,10 +763,10 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
/* Static Embedding Text */
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
{""/home/mine/Program2.cs"",SourceCode.FromDictionary(new Dictionary<string,object>{{""path"",""/home/mine/Program2.cs""},{""code"","
+ @"using Other;
Expand All @@ -777,10 +777,10 @@ static void M()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
/* Static Embedding Text */
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
{""/home/mine/Program2.cs"",SourceCode.FromDictionary(new Dictionary<string,object>{{""path"",""/home/mine/Program2.cs""},{""code"","
+ @"using Other;
Expand All @@ -98,9 +98,9 @@ static void M()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
{""/home/mine/Program2.cs"",SourceCode.FromDictionary(new Dictionary<string,object>{{""path"",""/home/mine/Program2.cs""},{""code"","
+ @"using Other;
Expand All @@ -96,9 +96,9 @@ static void M()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#region Expanded by https://github.com/kzrnm/SourceExpander
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
{""/home/mine/Program2.cs"",SourceCode.FromDictionary(new Dictionary<string,object>{{""path"",""/home/mine/Program2.cs""},{""code"","
+ @"using Other;
Expand All @@ -98,8 +98,8 @@ static void M()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#region Expanded by https://github.com/kzrnm/SourceExpander
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down Expand Up @@ -146,9 +146,9 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
4 changes: 2 additions & 2 deletions Test/SourceExpander.Generator.Test/Generate/NotFound.Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ static void Main()
Console.WriteLine(42);
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#region Expanded by https://github.com/kzrnm/SourceExpander
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ static void Main()
C.P();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ static void Main()
}
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace Other { public static class C { public static void P() => System.Console.WriteLine(); } }
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL().ToLiteral()
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL().ToLiteral()
+ @"},})},
};
}}").ReplaceEOL())
Expand Down
4 changes: 2 additions & 2 deletions Test/SourceExpander.Test/ExpandTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ static void Main()
Expander.Expand();
}
}
#region Expanded by https://github.com/naminodarie/SourceExpander
#region Expanded by https://github.com/kzrnm/SourceExpander
namespace SourceExpander{public class Expander{[Conditional(""EXP"")]public static void Expand(string inputFilePath=null,string outputFilePath=null,bool ignoreAnyError=true){}public static string ExpandString(string inputFilePath=null,bool ignoreAnyError=true){return """";}}}
#endregion Expanded by https://github.com/naminodarie/SourceExpander".ReplaceEOL())
#endregion Expanded by https://github.com/kzrnm/SourceExpander".ReplaceEOL())
);
}
}
Expand Down

0 comments on commit f1c9597

Please sign in to comment.