Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Nov 20, 2023
1 parent 1fae1a3 commit 400cda0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CliFx.SourceGeneration/CliFx.SourceGeneration.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<GenerateDependencyFile>true</GenerateDependencyFile>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<NoWarn>$(NoWarn);RS1025;RS1026</NoWarn>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -20,7 +19,7 @@
<PackageReference Include="CSharpier.MsBuild" Version="0.26.1" PrivateAssets="all" />
<!-- Make sure to target the lowest possible version of the compiler for wider support -->
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" PrivateAssets="all" />
<PackageReference Include="PolyShim" Version="1.8.0" PrivateAssets="all" />
</ItemGroup>

Expand Down
12 changes: 12 additions & 0 deletions CliFx.SourceGeneration/CommandGenerator.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using Microsoft.CodeAnalysis;

namespace CliFx.SourceGeneration;

[Generator(LanguageNames.CSharp)]
public class CommandGenerator : IIncrementalGenerator
{
public void Initialize(IncrementalGeneratorInitializationContext context)
{
context.SyntaxProvider.ForAttributeWithMetadataName()
}
}
12 changes: 12 additions & 0 deletions CliFx.SourceGeneration/HelpGenerator.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using Microsoft.CodeAnalysis;

namespace CliFx.SourceGeneration;

[Generator(LanguageNames.CSharp)]
public class HelpGenerator : IIncrementalGenerator
{
public void Initialize(IncrementalGeneratorInitializationContext context)
{
throw new System.NotImplementedException();
}
}

0 comments on commit 400cda0

Please sign in to comment.