Rakefile in options-2.1.1 vs Rakefile in options-2.2.0
- old
+ new
@@ -1,12 +1,10 @@
-
-This.rubyforge_project = 'codeforpeople'
This.author = "Ara T. Howard"
This.email = "ara.t.howard@gmail.com"
This.homepage = "http://github.com/ahoward/#{ This.lib }/tree/master"
+This.rubyforge_project = 'codeforpeople'
-
task :default do
puts(Rake::Task.tasks.map{|task| task.name} - ['default'])
end
task :spec do
@@ -14,11 +12,10 @@
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/*_spec.rb']
end
end
-
task :gemspec do
ignore_extensions = 'git', 'svn', 'tmp', /sw./, 'bak', 'gem'
ignore_directories = 'pkg'
ignore_files = 'test/log'
@@ -158,10 +155,11 @@
task :release => [:clean, :gemspec, :gem] do
gems = Dir[File.join(This.pkgdir, '*.gem')].flatten
raise "which one? : #{ gems.inspect }" if gems.size > 1
raise "no gems?" if gems.size < 1
- cmd = "rubyforge login && rubyforge add_release #{ This.rubyforge_project } #{ This.lib } #{ This.version } #{ This.pkgdir }/#{ This.gem }"
+ #cmd = "rubyforge login && rubyforge add_release #{ This.rubyforge_project } #{ This.lib } #{ This.version } #{ This.pkgdir }/#{ This.gem }"
+ cmd = "rubyforge add_release #{ This.rubyforge_project } #{ This.lib } #{ This.version } #{ This.pkgdir }/#{ This.gem }"
puts cmd
system cmd
end