Skip to content

Commit

Permalink
rake tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Jun 24, 2010
1 parent dab8e41 commit 962b3c2
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -131,20 +131,17 @@ task :gemspec do
run_command 'rake gemspec'
end

namespace :install do
desc "install the gem bundles"
task :bundle do
sh "bundle install"
Dir.chdir("repos/rspec-rails") do
sh "bundle install"
end
end
end

namespace :bundle do
desc "unlock the gem bundles"
task :unlock do
sh "find . -name 'Gemfile.lock' | xargs rm"
end

desc "install the gem bundles"
task :install do
sh "bundle install"
run_command 'bundle install'
end
end

task :setup => ["git:clone", "install:bundle"]
Expand Down

0 comments on commit 962b3c2

Please sign in to comment.