Zip Public API
zip(name, compression_level, out, srcs)
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
compression_level | Name of the compressed file | Integer | optional | 1 |
out | Name of the compressed file | Label | required | |
srcs | Source file to compress | List of labels | required |
gz_compress(name, src, out, kwargs)
Macro around zip rule to compress with gzip
PARAMETERS
Name | Description | Default Value |
---|---|---|
name | Name of the target | none |
src | Label of the input | none |
out | Name of the output file | None |
kwargs | All other args of zip | none |