Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 643 Bytes
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" { |t| }
desc "Run the specs with rcov" do |t|
t.rcov = true
t.rcov_opts = ['-T', '--no-html', '--exclude spec,gem']
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/"
desc "Release new gem"
task :release => :build do
system "gem push pkg/chingu-#{Chingu::VERSION}.gem"
Something went wrong with that request. Please try again.