TarAliases.

Tar(ICakeContext, DirectoryPath, FilePath) Method

Summary

Creates a tar archive from the specified directory.
Namespace
Cake.Common.IO
Containing Type
TarAliases

Syntax

[CakeMethodAlias]
public static void Tar(this ICakeContext context, DirectoryPath rootPath, FilePath outputPath)

Examples

Tar("./publish", "publish.tar");

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
rootPath DirectoryPath The root path.
outputPath FilePath The output path.

Return Value

Type Description
void