A starter pack to get your C# project build pipeline up and running quickly
- Powershell scripting needs to be enabled. As Administrator, run
Set-ExecutionPolicy RemoteSigned
- Initialise this repo as a submodule in the root of your project.
git submodule add https://github.com/cobussmit74/cake-tasks.git
- Run the install script.
.\cake-tasks\install.ps1
- Modify the cake-config.json file in your project root to suit your needs and project structure.
Just execute the cake.ps1 script in your project root.
.\cake
The cake.ps1 script takes a single argument and executes only the task name that matches.
.\cake watch-javascript
- Purge
- Git Submodule Update
- NPM Install
- Nuget Restore
- DotNet Core Restore
- MSBuild
- NUnit Test Runner
- OpenCover Test Coverage
- Karma Single Run
- Karma Continuous Run
- OpenCover HTML Report generator
- OpenCover To Cobertura converter
To see a list off all tasks, including ones you have added:
.\cake list-tasks