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
=====
Blend
=====

Merge, analyze, and optimize client-side assets for web applications and static web sites.

Example
=======

Given the following directory structure::

project
lib
jquery-1.7.2.min.js
src
app.js
components
menu.js
common
helpers.js

And the following ``app.js``::

/* app.js */

//= require jquery
//= require menu
var app = {};

And the following ``menu.js``::

/* menu.js */

//= require jquery
//= require helpers
var menu = {};

And the following ``helpers.js``::

/* helpers.js */

var helpers = {};

Running ``blend`` with no arguments from the ``project`` directory will produce this directory structure::

project
lib
jquery-1.7.2.min.js
output
app.js
app.min.js
menu.js
menu.min.js
src
app.js
components
menu.js
common
helpers.js

Where ``app.js`` has the following content::

/* app.js */

/* ... the minified JQuery code, included only once */
var helpers = {};
var menu = {}
var app = {};

Usage
=====

blend [options] [file1 [file2 [fileN]]]

Command Line Options
--------------------

Output
~~~~~~
``-o OUTPUT, --output=OUTPUT``

Where the file output will be written. The default is a directory at the root of the
project directory named ``output``

Path
~~~~~
``-p PATH, --path=PATH``

A directory to be searched for required files. Multiple directories can specified by
repeating the flag. If you do not
specify any directory with the PATH flag then only the working directory will be searched for required files.

Skip Working Directory
~~~~~~~~~~~~~~~~~~~~~~
``-s, --skipcwd``

Exclude the current working directory from the requirement search paths.

Specify A Configuration File
~~~~~~~~~~~~~~~~~~~~~~~~~~
``-c, --config``

Specify a JSON confguration file that describes the analyzers and minifiers to be used.

Installation
============

From the Python Package Index
-----------------------------
::

pip install blend

From Source
-----------
::

git clone git://github.com/azavea/blend.git
cd blend
python setup.py install

Documentation
=============
http://azavea-blend.readthedocs.org

License
============

MIT
Release History

Release History

0.1.5

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

0.1.4

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

0.1.2

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

0.1.1

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

0.1.0

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

0.0.1

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
Blend-0.1.5.tar.gz (2.0 MB) Copy SHA256 Checksum SHA256 Source Feb 15, 2013

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