Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 500 Bytes
# Assumes robocopy on the path
$scriptpath = $MyInvocation.MyCommand.Path
$dir = Split-Path $scriptpath
$destDir = "$dir\bin"
if(Test-Path $destDir -PathType container){
Remove-Item $destDir -Recurse -Force
}
robocopy $dir "$destDir\tools" /E /B /NP /R:0 /W:0 /NJH /NJS /NS /NFL /NDL /XF ".git*" "Nuget*" "*.nupkg" /XD "$dir\nuget" "$dir\.git" "$destDir" "$dir\nuget.exe"
robocopy "$dir\nuget" $destDir /E /B /NP /R:0 /W:0 /NJH /NJS /NS /NFL /NDL
.\nuget pack "$destDir\psake.nuspec"
Jump to Line
Something went wrong with that request. Please try again.