Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

ArchiveHelper

Provides utility tasks for storing and compressing files in archives.

Nested types and modules

TypeDescription
ArchiveFileSpec

A description of a file to be added to an archive.

ModuleDescription
BZip2

Operations and tasks for working with gzip compressed files.

CompressionLevel

Provides validation of comression levels used for the zip and gzip compression algorithms.

GZip

Operations and tasks for working with gzip compressed files.

Tar

Operations and tasks for working with tar archives.

Zip

Operations and tasks for working with zip archives.

Functions and values

Function or valueDescription
archiveFileSpec(file)
Signature: file:FileInfo -> ArchiveFileSpec

Constructs a file specification which will archive the file at the root.

archiveFileSpecWithBaseDir baseDir file
Signature: baseDir:DirectoryInfo -> file:FileInfo -> ArchiveFileSpec

Constructs a file specification which will archive the file with a path relative to the baseDir.