Summary
Creates a tar archive from the specified files.
Syntax
[CakeMethodAlias]
public static void Tar(this ICakeContext context, DirectoryPath rootPath, FilePath outputPath, IEnumerable<string> filePaths)
Examples
var files = new [] {
"./src/Cake/bin/Debug/Cake.Common.dll",
"./src/Cake/bin/Debug/Cake.Core.dll"
};
Tar("./", "CakeBinaries.tar", files);
Attributes
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| rootPath |
DirectoryPath |
The root path. |
| outputPath |
FilePath |
The output path. |
| filePaths |
IEnumerable<string> |
The file paths. |
Return Value