Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (34 sloc) 0.82 kB
require "rake/clean"
require "rake/gempackagetask"
require 'fileutils'
include FileUtils
gems = [
"padrino-core",
"padrino-cache",
"padrino-admin",
"padrino-gen",
"padrino-helpers",
"padrino-mailer",
"padrino-routing",
"padrino"
]
%w(clean install gemspec build release).each do |task_name|
desc "Run #{task_name} for all projects"
task task_name do
gems.each do |dir|
Dir.chdir(dir) { sh "#{Gem.ruby} -S rake #{task_name}" }
end
end
end
desc "Bump patch version and release all padrino gems"
task :publish do
gems.each do |dir|
Dir.chdir(dir) { sh "#{Gem.ruby} -S rake version:bump:patch release" }
end
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'padrino-*/test/**/test_*.rb'
test.verbose = true
end
Jump to Line
Something went wrong with that request. Please try again.