Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
delete artifacts before build
Browse files Browse the repository at this point in the history
  • Loading branch information
justcoding121 committed Dec 25, 2015
1 parent 4498745 commit 5a0ac54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .build/default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ $MSBuild ="${env:ProgramFiles(x86)}\MSBuild\12.0\Bin\msbuild.exe"

FormatTaskName (("-"*25) + "[{0}]" + ("-"*25))

Task default -depends Clean, Build, Package
Task default -depends Clean, Update-AssemblyInfoFiles, Build, Package

Task Build -depends Restore-Packages {
exec { . $MSBuild $SolutionFile /t:Build /v:normal /p:Configuration=$Configuration }
exec { . $MSBuild $SolutionFile /t:Build /v:normal /p:Configuration=$Configuration-Net45 }
}

Task Package -depends Update-AssemblyInfoFiles, Build {
exec { . $NuGet pack "$SolutionRoot\EventHook\EventHook.nuspec" -Properties Configuration=$Configuration -OutputDirectory "$SolutionRoot" -Version "$Version" }
Task Package {
exec { . $NuGet pack "$SolutionRoot\EventHook\EventHook.nuspec" -Properties Configuration=$Configuration -OutputDirectory "$SolutionRoot\packages" -Version "$Version" }
}

Task Clean {
Expand Down

0 comments on commit 5a0ac54

Please sign in to comment.