Skip to content

adds support for the YUI Compressor to Espresso and lets You combine multiple .css or .js files.

Notifications You must be signed in to change notification settings

roblan/Combpress.sugar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Combpress.sugar for Espresso

Combpress.sugar adds support for the YUI Compressor to Espresso and lets You combine multiple .css or .js files.

Installation

You must install ShellActions.sugar to use Combpress.sugar

To install, download Combpress.sugar, decompress the folder, and rename it Combpress.sugar. Then double click to install in Espresso.

Or, to install with git, run the following commands in Terminal:

cd ~/Library/Application\ Support/Espresso/Sugars
git clone git://github.com/roblan/Combpress.sugar.git

Available actions

File Actions

All File Actions are in File→Actions→Combpress menu and also in ⚙ (Gear next to PROJECT FILES)→Combpress

  • Combine: combine selected documents and documents in selected folders (.css, .min.css, .js and .min.js files are combined separately) in the same order they appear in Project Files side bar. Content in combined document is separated by comments (@group comments in .css files) and saved in new file under name created by combining names of seleceted documents and proper extension.
  • Compress: compress selected documents and documents in selected folders using YUI Compressor and save generated files with extension .min.css or min.js
  • Combine & Compress: First Combine selected documents and documents in selected folders then Compress new files.

File naming convention

File named X_file_name.css (or .js), where X is a number used for proper file sorting, will have X_ stripped in combined name and file separating comments. For example: file named 1_first_file.css will be separated with /* @group first_file */ [...] /* @end */ comments. Multiple X_'s are also supported.

Text Actions

All Text Actions are in Action→Combpress menu and are available (only) for .css and .js files.

MIT License

Copyright (c) 2013 Robert Lange

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

adds support for the YUI Compressor to Espresso and lets You combine multiple .css or .js files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages