CompressionAliases.

BZip2Compress(ICakeContext, DirectoryPath, FilePath, int) Method

Summary

Create a BZip2 Tar archive of the specified directory.
Assembly
Cake.Compression.dll
Namespace
Cake.Compression
Containing Type
CompressionAliases

Syntax

public static void BZip2Compress(this ICakeContext context, DirectoryPath rootPath, FilePath outputPath, int level)

Examples

BZip2Compress("./publish", "publish.tar.bz2", 6);

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
rootPath DirectoryPath The root path.
outputPath FilePath The output path.
level int The compression level (1-9).

Return Value

Type Description
void