Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 18274c32b6
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 0.726 kB
require 'rubygems'
require 'rake'
require 'rake/testtask'
require File.expand_path('../lib/joint/version', __FILE__)
Rake::TestTask.new do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.ruby_opts = ['-rubygems']
test.verbose = true
end
task :default => :test
desc 'Builds the gem'
task :build do
sh "gem build joint.gemspec"
end
desc 'Builds and installs the gem'
task :install => :build do
sh "gem install joint-#{Joint::Version}"
end
desc 'Tags version, pushes to remote, and pushes gem'
task :release => :build do
sh "git tag v#{Joint::Version}"
sh "git push origin master"
sh "git push origin v#{Joint::Version}"
sh "gem push joint-#{Joint::Version}.gem"
end
Jump to Line
Something went wrong with that request. Please try again.