Sha256: 0b2d1a8cc1e81508f389d42e6f7833f85ee2d1e870d11c353e2b34a32fd12786
Contents?: true
Size: 465 Bytes
Versions: 11
Compression:
Stored size: 465 Bytes
Contents
require 'rake/testtask' # Setup test tasks Rake::TestTask.new do |t| t.pattern = 'test/*_test.rb' end desc "Build gem and push it to Gemcutter, updating the version on GitHub." task :publish do require File.dirname(__FILE__) + '/lib/cossincalc/version' verbose(true) do sh "git tag v#{CosSinCalc::VERSION}" sh "git push origin master --tags" sh "gem build cossincalc.gemspec" sh "gem push cossincalc-#{CosSinCalc::VERSION}.gem" end end
Version data entries
11 entries across 11 versions & 1 rubygems