Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/glensc/phing-task-smushit
- Owner: glensc
- License: mit
- Created: 2011-04-15T10:36:14.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-04-15T10:51:45.000Z (over 13 years ago)
- Last Synced: 2024-10-14T11:38:26.830Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 77.1 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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