Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a1f72fb50e
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (23 sloc) 0.643 kb
require 'rubygems'
require File.dirname(__FILE__) + '/lib/chingu'
include Chingu
gem 'rspec', '>= 2.1.0'
require 'rspec/core/rake_task'
desc "Run the specs under spec"
RSpec::Core::RakeTask.new { |t| }
desc "Run the specs with rcov"
RSpec::Core::RakeTask.new(:rcov) do |t|
t.rcov = true
t.rcov_opts = ['-T', '--no-html', '--exclude spec,gem']
end
task :default => :spec
desc "Build gem"
task :build do
system "gem build chingu.gemspec"
puts "Moving into directory pkg"
system "mv chingu-#{Chingu::VERSION}.gem pkg/"
end
desc "Release new gem"
task :release => :build do
system "gem push pkg/chingu-#{Chingu::VERSION}.gem"
end
Jump to Line
Something went wrong with that request. Please try again.