Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.531 kB
require 'rubygems'
require 'bundler'
Bundler.require
require_relative 'lib/simple_s3_deploy'
require_relative 'lib/emoji_optimizer'
task :deploy do
Emoji::Optimizer.new(:size => 22, :padding => 5).optimize! do
SimpleS3Deploy.deploy('public')
end
end
namespace :test do
task :sprite do
source = Emoji::Source.new('public/index.html')
sprite = Emoji::Sprite.new(source.emoji_paths, 22, 5)
puts "Generating test_sprite.png into public/graphics"
sprite.generate('public/graphics/test_sprite.png')
end
end
Jump to Line
Something went wrong with that request. Please try again.