Skip to content

Commit

Permalink
v1.4.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed May 20, 2017
1 parent 8e695a3 commit 3c41adf
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.4.3:
date: 2017-05-20
changes:
- Update pretty-bytes to v4.0.2.
- Add option to not to create empty archive.
v1.4.2:
date: 2017-05-20
changes:
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# grunt-contrib-compress v1.4.2 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-compress.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-compress) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/tiwbi1smm1j8aa5j/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-compress/branch/master)
# grunt-contrib-compress v1.4.3 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-compress.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-compress) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/tiwbi1smm1j8aa5j/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-compress/branch/master)

> Compress files and folders
Expand Down Expand Up @@ -29,7 +29,7 @@ Task targets, files and options may be specified according to the grunt [Configu

Node Libraries Used:
[archiver](https://github.com/ctalkington/node-archiver) (for zip/tar)
[zlib](http:https://nodejs.org/api/zlib.html#zlib_options) (for gzip).
[zlib](https:https://nodejs.org/api/zlib.html#zlib_options) (for gzip).
### Options

#### archive
Expand Down Expand Up @@ -101,6 +101,14 @@ Default: `false`

Pretty print file sizes when logging.

#### createEmptyArchive
Type: `Boolean`
Default: `true`

This can be used when you don't want to get an empty archive as a result, if there are no files at the specified paths.

It may be useful, if you don't clearly know if files exist and you don't need an empty archive as a result.

### File Data

The following additional keys may be passed as part of a `dest:src` pair when using an Archiver-backed format.
Expand Down Expand Up @@ -273,6 +281,7 @@ compress: {

## Release History

* 2017-05-20   v1.4.3   Update pretty-bytes to v4.0.2. Add option to not to create empty archive.
* 2017-05-20   v1.4.2   Update archiver to v1.3.0.
* 2017-01-20   v1.4.1   Make brotli support optional.
* 2017-01-18   v1.4.0   Add support for brotli.
Expand Down Expand Up @@ -318,4 +327,4 @@ compress: {

Task submitted by [Chris Talkington](http:https://christalkington.com/)

*This file was generated on Sat May 20 2017 00:39:54.*
*This file was generated on Sat May 20 2017 14:05:16.*
2 changes: 1 addition & 1 deletion docs/compress-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Default: `false`
Pretty print file sizes when logging.

## createEmptyArchive
Type: `Boolean`
Type: `Boolean`
Default: `true`

This can be used when you don't want to get an empty archive as a result, if there are no files at the specified paths.
Expand Down
2 changes: 1 addition & 1 deletion docs/compress-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Task targets, files and options may be specified according to the grunt [Configu

Node Libraries Used:
[archiver](https://github.com/ctalkington/node-archiver) (for zip/tar)
[zlib](http:https://nodejs.org/api/zlib.html#zlib_options) (for gzip).
[zlib](https:https://nodejs.org/api/zlib.html#zlib_options) (for gzip).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grunt-contrib-compress",
"description": "Compress files and folders",
"version": "1.4.2",
"version": "1.4.3",
"author": {
"name": "Grunt Team",
"url": "http:https://gruntjs.com/"
Expand Down

0 comments on commit 3c41adf

Please sign in to comment.