forked from Albacore/albacore
-
Notifications
You must be signed in to change notification settings - Fork 0
NChurn Task
Henrik edited this page Aug 26, 2012
·
1 revision
The nchurn task will run NChurn on your code repository. This task can be beneficial to use in addition to your code health reporting, whether it is coverage, tests and so on.
NChurn itself is located at http://github.com/jondot/nchurn
Available options:
desc "churn"
nchurn :churn do |nc|
nc.command = "tools/nchurn/nchurn.exe"
nc.working_directory = "."
# here are some examples:
# nc.input "file.txt"
# nc.from DateTime.now #3-12-2010 # Chronic.parse('3 days ago')
# nc.churn 4
# nc.churn_precent 30
# nc.top 10
# nc.report_as :xml
# nc.env_path 'c:/tools'
# nc.adapter :git
# nc.exclude "exe"
# nc.include "foo"
nc.output "out/churn-#{bumper_version.to_s}.txt"
end
Typically under CI you would want to use XML reporting with nc.report_as :xml and nc.output 'build.xml'. You can then supply an XSLT of you own or ones that are provided with NChurn (see NChurn repo).
- Build-Server Integration
- Command Line Task Options
- Configuration
- Custom Tasks
- Logging Options
- Sample Usages
- Task Arguments and Rakefile Parameters
- YAML Configuration
- ASP.NET Compiler - ASP.Net website compiler
- Assembly Info Generator - generate assembly info dynamically
- CSC - C# compiler
- Exec - Execute arbitrary cmd
- Fluent Migrator - Run FluentMigrator on migration library
- ILMerge - Merge dll/exe-s together
- MSBuild and XBuild - Compile a .sln-file or a MsBuild xml-file
- MSpec - Test using MSpec (machine.specifications)
- MSTest - Test using Microsoft Test Framework
- NAnt - Run a NAnt script
- NChurn - Calculate per-file churn
- NCover Console - Run NCover for tests/library
- NCover Reports - Generate a report from a coverage run
- NDepend - Run NDepend to check static code metrics
- NuGet Install - Install NuGet packages
- NuGet Pack - Create NuGet packages
- NuGet Push - Push NuGet packages to official MS repo
- NuGet Publish - Publish NuGet packages
- NUnit - Test using NUnit
- NuSpec - Generate a NuSpec file
- Output - File copying and template expansion
- PLink - SSH into a remote computer and run a command
- SQLCmd - Run a SQL command as a part of your build process
- UnZip - Unzip a directory
- XBuild - Run XBuild (will be merged into MsBuild)
- XUnit - Test using XUnit
- Zip - Zip a directory or files
- Edit the Wiki Locally - How to edit the wiki without using Github's interface
- How to Build Albacore
- How to Contribute