Skip to content

Commit eac9435

Browse files
committed
add nuget
1 parent 94c56ed commit eac9435

2 files changed

Lines changed: 15 additions & 30 deletions

File tree

CommandForgeGenerator/CommandForgeGenerator.csproj

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,19 @@
1414
<DevelopmentDependency>true</DevelopmentDependency>
1515
<IncludeSymbols>false</IncludeSymbols>
1616
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
17-
<Title>CommandForgeGenerator.Generator</Title>
17+
18+
<!-- NuGet Package Metadata -->
19+
<Title>CommandForge Generator</Title>
1820
<Authors>Moorestech</Authors>
19-
<Version>1.0.9</Version>
21+
<Version>1.0.0</Version>
22+
<Description>CommandForgeEditorのcommands.yamlのC#コードを生成するSourceGenerator</Description>
23+
<PackageProjectUrl>https://github.com/moorestech/CommandForgeGenerator</PackageProjectUrl>
24+
<RepositoryUrl>https://github.com/moorestech/CommandForgeGenerator</RepositoryUrl>
25+
<RepositoryType>git</RepositoryType>
26+
<PackageTags>roslyn;source-generator;yaml;json;code-generation;game-development;data-loader;type-safety</PackageTags>
27+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
28+
<PackageReadmeFile>README.md</PackageReadmeFile>
29+
<Copyright>Copyright (c) 2024 Moorestech</Copyright>
2030
<RootNamespace>CommandForgeGenerator.Generator</RootNamespace>
2131
</PropertyGroup>
2232

@@ -39,6 +49,7 @@
3949

4050
<ItemGroup>
4151
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/>
52+
<None Include="README.md" Pack="true" PackagePath="\" />
4253
</ItemGroup>
4354

4455

CommandForgeGenerator/Readme.md

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,3 @@
1-
# Roslyn Source Generators Sample
1+
# CommandForgeGenerator
22

3-
A set of three projects that illustrates Roslyn source generators. Enjoy this template to learn from and modify source generators for your own needs.
4-
5-
## Content
6-
### CommandForgeGenerator
7-
A .NET Standard project with implementations of sample source generators.
8-
**You must build this project to see the result (generated code) in the IDE.**
9-
10-
- [SampleSourceGenerator.cs](SampleSourceGenerator.cs): A source generator that creates C# classes based on a text file (in this case, Domain Driven Design ubiquitous language registry).
11-
- [SampleIncrementalSourceGenerator.cs](SampleIncrementalSourceGenerator.cs): A source generator that creates a custom report based on class properties. The target class should be annotated with the `Generators.ReportAttribute` attribute.
12-
13-
### CommandForgeGenerator.Sample
14-
A project that references source generators. Note the parameters of `ProjectReference` in [CommandForgeGenerator.Sample.csproj](../CommandForgeGenerator.Sample/CommandForgeGenerator.Sample.csproj), they make sure that the project is referenced as a set of source generators.
15-
16-
### CommandForgeGenerator.Tests
17-
Unit tests for source generators. The easiest way to develop language-related features is to start with unit tests.
18-
19-
## How To?
20-
### How to debug?
21-
- Use the [launchSettings.json](Properties/launchSettings.json) profile.
22-
- Debug tests.
23-
24-
### How can I determine which syntax nodes I should expect?
25-
Consider installing the Roslyn syntax tree viewer plugin [Rossynt](https://plugins.jetbrains.com/plugin/16902-rossynt/).
26-
27-
### How to learn more about wiring source generators?
28-
Watch the walkthrough video: [Let’s Build an Incremental Source Generator With Roslyn, by Stefan Pölz](https://youtu.be/azJm_Y2nbAI)
29-
The complete set of information is available in [Source Generators Cookbook](https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.cookbook.md).
3+
[CommandForgeEditor](https://github.com/moorestech/CommandForgeEditor)のcommands.yamlのC#コードを生成するSourceGenerator

0 commit comments

Comments
 (0)