Skip to content

Commit

Permalink
Script. Next iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyo26 committed Feb 24, 2016
1 parent 0e874ee commit b2d5f65
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Tools/make_binary_drop_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Else
{
$buildPath = "x64\Release"
}
$sharePath = "\\muc-vfs-01a\CNTKshare\CNTK-Binary-Drop" + "\" + $buildConfig
$sharePath = "\\muc-vfs-01a\CNTKshare\CNTK-Binary-Drop" + "\" + $targetConfig


# Make binary drop folder
Expand All @@ -47,16 +47,14 @@ Remove-Item $baseDropPath\cntk\*.metagen
Copy-Item Examples -Recurse -Destination $baseDropPath\Examples

# Copy all items from the share
Copy-Item $sharePath\* -Recurse -Destination $baseDropPath\cntk
Copy-Item $sharePath"\*" -Recurse -Destination $baseDropPath


# Make ZIP file
$source = $PWD.Path + "\" + $basePath
Write-Host $source
$destination = $PWD.Path + "\" + $zipFile
Write-Host $destination
Add-Type -assembly "system.io.compression.filesystem"
[io.compression.zipfile]::CreateFromDirectory($source, $destination)

# Remove ZIP sources
If (Test-Path $basePath) {Remove-Item $basePath -Recurse}
If (Test-Path $basePath) {Remove-Item $basePath -Recurse}

0 comments on commit b2d5f65

Please sign in to comment.