Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.464 kB
require 'rspec/core/rake_task'
require File.dirname(__FILE__) + '/lib/ice_cube/version'
task :build => :test do
system "gem build ice_cube.gemspec"
end
task :release => :build do
# tag and push
system "git tag v#{IceCube::VERSION}"
system "git push origin --tags"
# push the gem
system "gem push ice_cube-#{IceCube::VERSION}.gem"
end
RSpec::Core::RakeTask.new(:test) do |t|
t.pattern = 'spec/**/*_spec.rb'
fail_on_error = true # be explicit
end
Jump to Line
Something went wrong with that request. Please try again.