Permalink
Browse files

moved top project gem tasks into a gems: namespace

  • Loading branch information...
1 parent 559beb1 commit 3f208db941b1ac569d2ecc49b676d35b76307490 @jamesarosen jamesarosen committed Jun 13, 2010
Showing with 25 additions and 22 deletions.
  1. +25 −22 Rakefile
View
@@ -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"
@@ -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}"

0 comments on commit 3f208db

Please sign in to comment.