Browse files

Move gemfile task location

Trying to make travis happy.
  • Loading branch information...
1 parent 3ff815a commit c0791f7a6ed8f64811ccf18e0338df4a90c2588a @blowmage committed Sep 19, 2012
Showing with 17 additions and 16 deletions.
  1. +1 −16 Rakefile
  2. +16 −0 tasks/gemfiles.rake
View
17 Rakefile
@@ -24,21 +24,6 @@ Hoe.spec 'minitest-rails' do
dependency 'fakefs', '~> 0.4', :dev
end
-namespace :gemfiles do
- desc "Updates the gemfiles"
- task :update do
- `bundle --gemfile=gemfiles/3.0.gemfile`
- `bundle --gemfile=gemfiles/3.1.gemfile`
- `bundle --gemfile=gemfiles/3.2.gemfile`
- end
- desc "Clear the lock gemfiles"
- task :clear do
- `rm gemfiles/3.*.gemfile.lock`
- end
-end
-
-Rake::Task["gem:spec"].enhance do
- Rake::Task["gemfiles:update"].invoke
-end
+Dir["tasks/**/*.rake"].each { |t| load t }
# vim: syntax=ruby
View
16 tasks/gemfiles.rake
@@ -0,0 +1,16 @@
+namespace :gemfiles do
+ desc "Updates the gemfiles"
+ task :update do
+ `bundle --gemfile=gemfiles/3.0.gemfile`
+ `bundle --gemfile=gemfiles/3.1.gemfile`
+ `bundle --gemfile=gemfiles/3.2.gemfile`
+ end
+ desc "Clear the gemfile lock files"
+ task :clear do
+ `rm gemfiles/3.*.gemfile.lock`
+ end
+end
+
+Rake::Task["gem:spec"].enhance do
+ Rake::Task["gemfiles:update"].invoke
+end

0 comments on commit c0791f7

Please sign in to comment.