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 GZip Tar archive of the specified files.
Syntax
public static void GZipCompress(this ICakeContext context, DirectoryPath rootPath, FilePath outputPath, IEnumerable<FilePath> filePaths)
Examples
var files = GetFiles("./**/Cake.*.dll");
GZipCompress("./", "cakeassemblies.tar.gz", files);
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
rootPath |
DirectoryPath |
The root path. |
outputPath |
FilePath |
The output path. |
filePaths |
IEnumerable<FilePath> |
The file paths. |
Return Value