A modern Sprockets::Secretary, for building little JS/CSS things using Sprockets to assemble the bits.
Go to file
John Bintz 1f12965f47 ensure compilation happens 2012-08-15 14:45:22 -04:00
bin initial commit, still kinda hacking on it 2012-08-10 11:35:06 -04:00
lib ensure compilation happens 2012-08-15 14:45:22 -04:00
skel changes 2012-08-10 16:09:51 -04:00
.gitignore initial commit, still kinda hacking on it 2012-08-10 11:35:06 -04:00
Gemfile initial commit, still kinda hacking on it 2012-08-10 11:35:06 -04:00
LICENSE initial commit, still kinda hacking on it 2012-08-10 11:35:06 -04:00
README.md add sprockets paths and enable yui compressor 2012-08-13 14:25:18 -04:00
Rakefile initial commit, still kinda hacking on it 2012-08-10 11:35:06 -04:00
sprockets-assistant.gemspec add sprockets paths and enable yui compressor 2012-08-13 14:25:18 -04:00

README.md

Sprockets Assistant

An upgraded Sprockets::Secretary. A simple way to let me build little libraries and widgets and things for various projects, while still taking advantage of all the Sprockets libraries and goodness that I use elsewhere.

Usage

gem install sprockets-assistant
sprockets-assistant create my_project
cd my_project
bundle exec sprockets-assistant

This starts a server on localhost:8080. Hack away.

assistant_config.rb

Prett simple DSL:

append_path

Add a load path to Sprockets.

middleware

Define a middleware stack.

app

This is the guts of a Sinatra::Base app.

compile

A list of files to compile with sprockets-assistant compile. YUI compressor is used to make the JS files really small.