Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/glensc/phing-task-smushit

Phing task to run Smush.it
https://github.com/glensc/phing-task-smushit

Last synced: about 2 months ago
JSON representation

Phing task to run Smush.it

Awesome Lists containing this project

README

        

# Phing Tasks

This project contains Smush.It task to [Phing](http://phing.info) build tool for PHP.

## Smush.It Task

Defines a Phing task to run the [Smush.it](http://www.smushit.com/ysmush.it/) compressor against a set of image files.

To setup, put `SmushitCompressorTask.php` under Phing `tasks/ext`:

To use this task, include it with a taskdef tag in your build.xml file:

The task is now ready to be used:










This task makes use of [smushit](https://github.com/davgothic/SmushIt) by
GitHub user [davgothic](https://github.com/davgothic), make sure it is in php `include_path`.

### Task Attributes

#### Required
- **targetdir** - Specifies the directory path for output files.

#### Optional
_There are no optional attributes for this task._

### TODO

- add option to skip saving filetype changes