Blend

A cross-platform tool for merging and processing client-side assets for a web application
Download

Blend Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Justin Walgran
  • Publisher web site:
  • http://github.com/azavea/

Blend Tags


Blend Description

Blend is a tool to merge, analyze, and optimize client-side assets for web applications and static web sites.ExampleGiven the following directory structure:project lib jquery-1.7.2.min.js src app.js components menu.js common helpers.jsAnd the following app.js:/* app.js *///= require jquery//= require menuvar app = {};And the following menu.js:/* menu.js *///= require jquery//= require helpersvar 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.jsWhere app.js has the following content:/* app.js *//* ... the minified JQuery code, included only once */var helpers = {};var menu = {}var app = {};Usageblend ]]Command Line OptionsOutput-o OUTPUT, --output=OUTPUTWhere the file output will be written. The default is a directory at the root of the project directory named outputPath-p PATH, --path=PATHA 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, --skipcwdExclude the current working directory from the requirement search paths.InstallationFrom the Python Package Indexpip install blendFrom Sourcegit clone git://github.com/azavea/blend.gitcd blendpython setup.py installProduct's homepage


Blend Related Software