Skip to content

Commit 3c41adf

Browse files
committed
v1.4.3.
1 parent 8e695a3 commit 3c41adf

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v1.4.3:
2+
date: 2017-05-20
3+
changes:
4+
- Update pretty-bytes to v4.0.2.
5+
- Add option to not to create empty archive.
16
v1.4.2:
27
date: 2017-05-20
38
changes:

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 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)
1+
# 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)
22

33
> Compress files and folders
44
@@ -29,7 +29,7 @@ Task targets, files and options may be specified according to the grunt [Configu
2929

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

3535
#### archive
@@ -101,6 +101,14 @@ Default: `false`
101101

102102
Pretty print file sizes when logging.
103103

104+
#### createEmptyArchive
105+
Type: `Boolean`
106+
Default: `true`
107+
108+
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.
109+
110+
It may be useful, if you don't clearly know if files exist and you don't need an empty archive as a result.
111+
104112
### File Data
105113

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

274282
## Release History
275283

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

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

321-
*This file was generated on Sat May 20 2017 00:39:54.*
330+
*This file was generated on Sat May 20 2017 14:05:16.*

docs/compress-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Default: `false`
7070
Pretty print file sizes when logging.
7171

7272
## createEmptyArchive
73-
Type: `Boolean`
73+
Type: `Boolean`
7474
Default: `true`
7575

7676
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.

docs/compress-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Task targets, files and options may be specified according to the grunt [Configu
22

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-contrib-compress",
33
"description": "Compress files and folders",
4-
"version": "1.4.2",
4+
"version": "1.4.3",
55
"author": {
66
"name": "Grunt Team",
77
"url": "http://gruntjs.com/"

0 commit comments

Comments
 (0)