Skip to content

Instantly share code, notes, and snippets.

@baralong
Created November 21, 2012 04:02
Show Gist options
  • Save baralong/4122936 to your computer and use it in GitHub Desktop.
Save baralong/4122936 to your computer and use it in GitHub Desktop.
The zip step of my psake build script
task Zip {
Add-Type -Path "$build_dir\ICSharpCode.SharpZipLib.dll"
$fastZip = New-Object icSharpCode.sharpZipLib.zip.FastZip
$fastZip.CreateZip("$build_dir\..\RailOutput.zip", $build_artifacts_dir, $true, $null)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment