Skip to content

Commit

Permalink
Merge pull request #6 from bonsai-rx/package-dev
Browse files Browse the repository at this point in the history
Publish first release
  • Loading branch information
glopesdev authored Oct 7, 2023
2 parents 30fe4f7 + 4a2905b commit 499ae29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
<ToolCommandName>bonsai.sgen</ToolCommandName>
<PackageTags>Bonsai Rx Sgen Schema Serializer Generators</PackageTags>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Copyright>Copyright © Bonsai Foundation CIC 2023</Copyright>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageOutputPath>..\bin\$(Configuration)</PackageOutputPath>
<PackageProjectUrl>https://bonsai-rx.org/sgen</PackageProjectUrl>
<RepositoryUrl>https://github.com/bonsai-rx/sgen.git</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<VersionSuffix>build231006</VersionSuffix>
<VersionSuffix></VersionSuffix>
<IncludeSymbols>true</IncludeSymbols>
<RepositoryType>git</RepositoryType>
<PackAsTool>true</PackAsTool>
Expand All @@ -25,5 +26,6 @@
<ItemGroup>
<Content Include="..\LICENSE" PackagePath="/" />
<Content Include="..\icon.png" PackagePath="/" />
<Content Include="..\README.md" PackagePath="/" />
</ItemGroup>
</Project>
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ Tool for automatically generating YML serialization classes from schema files
dotnet tool install --local Bonsai.Sgen --version 0.1.0
```
3. Run the suggested commands in your terminal, in the root folder where you want to run the tool from:
3. To view the tool help reference documentation, run:
4. Run the tool:
```cmd
dotnet bonsai.sgen --help
```
4. To generate serialization classes from a schema file:
```cmd
dotnet bonsai.sgen
dotnet bonsai.sgen --schema schema.json
```
5. Copy the generated class file to your project `Extensions` folder.
Expand Down

0 comments on commit 499ae29

Please sign in to comment.