imageoptim-cli
Advanced tools
Comparing version 1.14.9 to 1.15.1
@@ -0,3 +1,18 @@ | ||
<a name="1.15.1"></a> | ||
## [1.15.1](https://github.com/JamieMason/ImageOptim-CLI/compare/1.14.9...v1.15.1) (2017-06-29) | ||
### Bug Fixes | ||
* **file index:** handle cases where no files are found or passed in ([b9b4f7a](https://github.com/JamieMason/ImageOptim-CLI/commit/b9b4f7a)) | ||
### Features | ||
* **pngquant:** binary update to 2.9.1 ([8182b51](https://github.com/JamieMason/ImageOptim-CLI/commit/8182b51)) | ||
<a name="1.14.9"></a> | ||
## [1.14.9](https://github.com/JamieMason/ImageOptim-CLI/compare/1.14.8...v1.14.9) (2017-02-05) | ||
## [1.14.9](https://github.com/JamieMason/ImageOptim-CLI/compare/1.14.8...1.14.9) (2017-02-05) | ||
@@ -4,0 +19,0 @@ |
{ | ||
"name": "imageoptim-cli", | ||
"description": "Automates ImageOptim, ImageAlpha, and JPEGmini for Mac to make batch optimisation of images part of your automated build process.", | ||
"version": "1.14.9", | ||
"version": "1.15.1", | ||
"author": "Jamie Mason <siunmaru@gmail.com>", | ||
@@ -20,2 +20,3 @@ "bin": { | ||
"Martin Schürrer (https://github.com/MSch)", | ||
"Niklas Vosskötter (https://github.com/neikei)", | ||
"Ramiro Araujol (https://github.com/ramiroaraujo)", | ||
@@ -22,0 +23,0 @@ "Simen Brekken (https://github.com/sbrekken)", |
@@ -65,3 +65,3 @@ # ImageOptim-CLI | ||
```shell | ||
curl --output imageoptim-cli.zip https://codeload.github.com/JamieMason/ImageOptim-CLI/zip/1.14.8 | ||
curl --output imageoptim-cli.zip https://codeload.github.com/JamieMason/ImageOptim-CLI/zip/1.15.1 | ||
unzip imageoptim-cli.zip | ||
@@ -93,3 +93,3 @@ export PATH=$PATH:imageoptim-cli/bin | ||
## Usage | ||
Usage: imageoptim [options] | ||
Usage: imageOptim [options] | ||
@@ -123,3 +123,3 @@ Options: | ||
imageoptim --directory ~/Sites/Awesome # [options] | ||
imageOptim --directory ~/Sites/Awesome # [options] | ||
@@ -130,3 +130,3 @@ ### Optimise a filtered set of images | ||
find ~/Sites/Awesome -name '*.jpg' | imageoptim # [options] | ||
find ~/Sites/Awesome -name '*.jpg' | imageOptim # [options] | ||
@@ -137,7 +137,7 @@ ### Passing additional options | ||
imageoptim --jpeg-mini --image-alpha --quit --no-color --directory path/to/images | ||
imageOptim --jpeg-mini --image-alpha --quit --no-color --directory path/to/images | ||
The equivalent of the above in short format is as follows; | ||
imageoptim -j -a -q -d -c path/to/images | ||
imageOptim -j -a -q -d -c path/to/images | ||
@@ -151,3 +151,3 @@ ### Adding to git pre-commit hook | ||
images=$(git diff --exit-code --cached --name-only --diff-filter=ACM -- '*.png' '*.jpg') | ||
$(exit $?) || (echo "$images" | imageoptim && git add $images) | ||
$(exit $?) || (echo "$images" | imageOptim && git add $images) | ||
@@ -154,0 +154,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
337307