Simple log event abstractions
To build and run tests you can use:
- the dotnet cli tool
- any IDE/editor that understands MSBuild eg Visual Studio or Visual Studio Code
Recommended workflow
- Develop on a feature branch created from master:
- create a branch from master named feature/xxx eg
feature/cool-feature
- commits pushed from this branch will trigger a limited CI build (compile and test only)
- create a branch from master named feature/xxx eg
- When ready to publish the nuget package to production:
- merge master into your branch, then run tests locally (eg
dotnet test src/CcAcca.LogEvents.Tests
) - merge your feature branch to master
- on the master branch, bump the version number in CcAcca.LogEvents.csproj; follow semver
- on the master branch
git push
- merge master into your branch, then run tests locally (eg
Azure Devops (formally vsts) is used to run the dotnet cli tool to perform the build and test. See the yam build definition for details.
Notes:
- The CI build is configured to run on every commit to any branch
- Commits to master will also publish the nuget package for CcAcca.LogEvents to the myget nuget feed