Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make merb-plugins gems use extlib release tasks.

  • Loading branch information...
commit cf83af557e4f9ee001b3bb322a3472b166ac8cf8 1 parent 3d94d9f
@michaelklishin michaelklishin authored
View
9 Rakefile
@@ -35,3 +35,12 @@ task :bundle do
end
end
end
+
+namespace :release do
+ desc "Publish Merb More gem to RubyForge, one by one."
+ task :gems => [ :bundle ] do
+ gems.each do |gem|
+ Dir.chdir(gem){ sh "rake release" }
+ end
+ end
+end
View
20 merb_activerecord/Rakefile
@@ -42,4 +42,22 @@ namespace :jruby do
sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
end
-end
+end
+
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
+
+require "extlib/tasks/release"
View
17 merb_helpers/Rakefile
@@ -61,3 +61,20 @@ Spec::Rake::SpecTask.new('rcov') do |t|
t.rcov_opts = ['--exclude', 'gems', '--exclude', 'spec']
end
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
+
+require "extlib/tasks/release"
View
20 merb_laszlo/Rakefile
@@ -45,10 +45,26 @@ task :make_spec do
end
namespace :jruby do
-
desc "Run :package and install the resulting .gem with jruby"
task :install => :package do
sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
end
-
end
+
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
+
+require "extlib/tasks/release"
View
18 merb_param_protection/Rakefile
@@ -60,3 +60,21 @@ Spec::Rake::SpecTask.new("rcov") do |t|
t.libs = ["lib", "server/lib" ]
t.rcov = true
end
+
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
+
+require "extlib/tasks/release"
View
22 merb_screw_unit/Rakefile
@@ -39,10 +39,26 @@ task :install => [:package] do
end
namespace :jruby do
-
desc "Run :package and install the resulting .gem with jruby"
task :install => :package do
sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
end
-
-end
+end
+
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
+
+require "extlib/tasks/release"
View
20 merb_sequel/Rakefile
@@ -38,10 +38,26 @@ task :install => :package do
end
namespace :jruby do
-
desc "Run :package and install the resulting .gem with jruby"
task :install => :package do
sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
end
+end
+
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
-end
+require "extlib/tasks/release"
View
20 merb_stories/Rakefile
@@ -37,10 +37,26 @@ task :install => [:package] do
end
namespace :jruby do
-
desc "Run :package and install the resulting .gem with jruby"
task :install => :package do
sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
end
-
end
+
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
+
+require "extlib/tasks/release"
View
20 merb_test_unit/Rakefile
@@ -36,10 +36,26 @@ task :install => [:package] do
end
namespace :jruby do
-
desc "Run :package and install the resulting .gem with jruby"
task :install => :package do
sh %{#{sudo} jruby -S gem install #{install_home} pkg/#{NAME}-#{GEM_VERSION}.gem --no-rdoc --no-ri}
end
-
end
+
+
+##############################################################################
+# Release
+##############################################################################
+RUBY_FORGE_PROJECT = NAME
+
+PKG_NAME = NAME
+PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_VERSION = GEM_VERSION + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME = "REL #{PKG_VERSION}"
+
+# FIXME: hey, someone take care of me
+RUBY_FORGE_USER = ""
+
+require "extlib/tasks/release"
Please sign in to comment.
Something went wrong with that request. Please try again.