This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Compression.
Summary
Create a Zip archive of the files matching the specified pattern.
Syntax
public static void ZipCompress(this ICakeContext context, DirectoryPath rootPath, FilePath outputPath, string pattern)
Examples
ZipCompress("./", "xmlfiles.zip", "./*.xml");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
rootPath |
DirectoryPath |
The root path. |
outputPath |
FilePath |
The output path. |
pattern |
string |
The pattern. |
Return Value