This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Detailed Documentation

Supported options

The recipe supports the following options:

The script to be used for css minification. The YUI compressor is a good choice here. This option is not required. If it is omitted, a very simple whitespace stripping is done [‘ ‘.join(RESOURCE.split())]. The command must write its result to the standard output.
Same as css-command but used for JavaScript resources.
A list of fnmatch-patters. If a filename matches one of these expressions, it is omitted from the minifying process.
A list of paths, which contains JavaScript and CSS resources. All files ending with ‘.js’ and ‘.css’ are considered, except those which are ignored explicitly (see ignore option).
Filename suffix that is used for the copy of the original file. The default is -full. If the orignal filename is style.css the minified version will be style.css and the original development version will be style-full.css.
Include all packages listed in the devel-section of the buildout. This option is turned OFF per default.
Set verbosity for minify runs. The allowed values are true and false and the default is false.

Example usage

A simple buildout that uses the recipe looks like this:

>>> write('buildout.cfg',
... """
... [buildout]
... parts = minify
... [minify]
... recipe = collective.recipe.minify
... paths =
...    ${buildout:directory}/src/foo
... ignore =
...      firm*
... include-devel = false
... """)

Running the buildout gives us:

>>> print system(buildout)
Installing minify.
Generated script '/sample-buildout/bin/minify'.

Running this script minifies all JavaScript and CSS resources found in the specfied locations. It walks all the paths specified ignoring all files matching one of the patterns specified in ignore.


Tom Gross, Author

Change history

1.0 (2010-01-05)

  • initial release [Tom Gross]
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.recipe.minify-1.0.tar.gz (7.9 kB) Copy SHA256 Checksum SHA256 Source Jan 5, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting