Automation deployment process using Powershell and Psake
16 Mar 2015Setup
git clone https://github.com/jincod/build-scripts.git
Change your solution name in scripts\build-scenario.ps1:
properties {
$Solution = "$ProjectDir\YourSolution.sln"
}
Usage
Build all:
build.cmd
Only clean:
build.cmd clean
Added tasks
task Tests -depends Init {
$tests = (Get-ChildItem $OutDir -Recurse -Include *Tests.dll)
exec { & $nunit /noshadow /framework:"net-4.0" /xml:"$OutDir\Tests.nunit.xml" $tests }
}