2.2.3 • Published 5 years ago
generator-csharp-nuget-lib v2.2.3
generator-csharp-nuget-lib
Yeoman generator for a C# library that publishes a NuGet package. Includes a unit test project.
Usage
Install with npm install -g yo generator-csharp-nuget-lib
.
Run with yo csharp-nuget-lib
.
It will create a new .NET solution consisting of a NuGet library project and a unit test project.
Some details:
- .NET Core 2
- NUnit and Moq for the test project
- Configuration for Travis
Contributing
- Scaffold data is indented with tabs, test data is indented with spaces.
Development
Developing
You can run npm link
from the working directory of the repository to develop this generator,
and npm unlink
once you're finished.
The default test command invokes gulp
.
Release Process
To create a new release:
- Make sure the version is correct in
package.json
andpackage-lock.json
- Push changes to master
- Create a tag
- Push the tag