tasks/sprite_tasks.rake in sprite-0.1.0 vs tasks/sprite_tasks.rake in sprite-0.1.1

- old
+ new

@@ -1,8 +1,13 @@ +require File.join(File.dirname(__FILE__), '../lib/sprite/sprite.rb') namespace :sprite do - desc "buid css sprite image" + desc "build sprite images based on config/sprite.yml" task :build do - require File.join(File.dirname(__FILE__), '../lib/sprite/sprite.rb') Sprite.new.build + end + + task :list => [:build] do + # TODO + # list all the currently configured sprites end end