mirror of https://github.com/oliverbooth/X10D
[ci skip] chore: add meta services
This class library will contain attributes for future source generation.
This commit is contained in:
parent
0ca8253402
commit
172380c57d
|
@ -84,6 +84,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\tools\SourceGenerator\SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
|
||||
<ProjectReference Include="..\tools\X10D.MetaServices\X10D.MetaServices.csproj" PrivateAssets="all"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(GITHUB_ACTIONS)' != 'true'">
|
||||
|
|
|
@ -47,8 +47,8 @@ internal sealed class EmojiRegexGenerator : ISourceGenerator
|
|||
}
|
||||
|
||||
var builder = new StringBuilder();
|
||||
builder.AppendLine("// This file was auto-generated by X10D.SourceGenerator");
|
||||
builder.AppendLine("// Do not edit this file manually");
|
||||
builder.AppendLine("// This file was auto-generated by the X10D source generator");
|
||||
builder.AppendLine("// Do not edit this file manually!");
|
||||
builder.AppendLine();
|
||||
|
||||
builder.AppendLine("using System.Text.RegularExpressions;");
|
||||
|
|
|
@ -17,4 +17,8 @@
|
|||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\X10D.MetaServices\X10D.MetaServices.csproj" PrivateAssets="all"/>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<LangVersion>11.0</LangVersion>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in New Issue