Skip to content

luminosity-group/packager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packager

Packager is a ruby command that wraps the juicer command line application for minifying and combining assets.

Installation

$ git clone git@git.luminosity-group.com:packager.git
$ cd packager
$ bundle install && rake install

Note: You may need to run:

$ juicer install yui_compressor
$ juicer install jslint

Default Usage

If there is a 'Packfile' in the current directory, packager will attempt to load the file and use it for it's configuration. You can use a Packfile to add or exclude certain elements that you would like included in the resulting package. Packfile's should be written in YAML format.

An example Packfile:

---
    package: myassets.zip
    javascript: myapp.js
    stylesheet: myapp.css
    javascripts: [
        javascripts/*.js ]
    stylesheets: [
        stylesheets/*.css ]
    extras: [
        img/* ]

The resulting output using the above Packfile would produce a zip file called "myassets.zip" containing "myapp.js", "myapp.css", and anything under the img directory.

About

Force.com asset packager

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages