Sha256: 651a183730ea321ed9f7be68404d66f465dbfe6128ba9d911020592d10776f51
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
require 'rubygems' require 'rake' version = '0.2.4' svn_repo = 'svn+ssh://chris@errtheblog.com/svn/projects/mofo' begin require 'echoe' Echoe.new('mofo', version) do |p| p.rubyforge_name = 'mofo' p.summary = "mofo is a ruby microformat parser" p.description = "mofo is a ruby microformat parser" p.url = "http://mofo.rubyforge.org/" p.author = 'Chris Wanstrath' p.email = "chris@ozmm.org" p.extra_deps << ['hpricot', '>=0.4.59'] p.test_globs = 'test/*_test.rb' end rescue LoadError => boom puts "You are missing a dependency required for meta-operations on this gem." puts "#{boom.to_s.capitalize}." end desc "Tag the current trunk with the current release version" task :tag do warn "WARNING: this will tag #{svn_repo}/trunk using the tag REL_#{version.gsub!('.','_')}" warn "If you do not wish to continue, you have 5 seconds to cancel by pressing CTRL-C..." 5.times { |i| print "#{5-i} "; $stdout.flush; sleep 1 } system %[svn copy #{svn_repo}/trunk #{svn_repo}/tags/REL_#{version} -m "Tagging the #{version} release"] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mofo-0.2.4 | ./Rakefile |