Commit bc1af0cd by Jon Yurek

Removed rake/gempackagetask and the rubyforge rake task

parent 49221b6a
require 'rake' require 'rake'
require 'rake/testtask' require 'rake/testtask'
require 'rake/rdoctask' require 'rake/rdoctask'
require 'rake/gempackagetask'
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib') $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require 'paperclip' require 'paperclip'
...@@ -70,18 +69,6 @@ spec = Gem::Specification.new do |s| ...@@ -70,18 +69,6 @@ spec = Gem::Specification.new do |s|
s.add_development_dependency 'mocha' s.add_development_dependency 'mocha'
end end
desc "Release new version"
task :release => [:test, :sync_docs, :gem] do
require 'rubygems'
require 'rubyforge'
r = RubyForge.new
r.login
r.add_release spec.rubyforge_project,
spec.name,
spec.version,
File.join("pkg", "#{spec.name}-#{spec.version}.gem")
end
desc "Generate a gemspec file for GitHub" desc "Generate a gemspec file for GitHub"
task :gemspec do task :gemspec do
File.open("#{spec.name}.gemspec", 'w') do |f| File.open("#{spec.name}.gemspec", 'w') do |f|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment