Skip to content

Commit

Permalink
moved top project gem tasks into a gems: namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesarosen committed Jun 13, 2010
1 parent 559beb1 commit 3f208db
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions Rakefile
Expand Up @@ -53,25 +53,34 @@ task :spec do
end
end

desc 'Push all gems to Gemcutter'
task :gemcutter do
each_gem('is releasing to Gemcutter...') do
system('rake gemcutter')
end
end
namespace :gems do

desc 'Build all gems'
task :build do
each_gem('is building gems...') do
system('rake gem')
end
end
desc 'Build all gems'
task :build do
each_gem('is building gems...') do
system('rake gem')
end
end

desc 'Push all gems to Gemcutter'
task :release do
each_gem('is releasing to Gemcutter...') do
system('rake gemcutter')
end
end

desc 'Install all gems'
task :install do
each_gem('is installing gems...') do
system('rake gem:install')
desc 'Install all gems'
task :install do
each_gem('is installing gems...') do
system('rake gem:install')
end
end

desc "Uninstall gems"
task :uninstall do
sh "sudo gem uninstall #{OMNIAUTH_GEMS.join(" ")} -a"
end

end

desc "Clean pkg and other stuff"
Expand All @@ -84,12 +93,6 @@ task :clean do
Dir["**/*.gem"].each { |gem| FileUtils.rm_rf gem }
end

desc "Uninstall gems"
task :uninstall do
sh "sudo gem uninstall #{OMNIAUTH_GEMS.join(" ")} -a"
end


desc 'Display the current version.'
task :version do
puts "Current Version: #{version}"
Expand Down

0 comments on commit 3f208db

Please sign in to comment.