exit with proper status

This commit is contained in:
Mike Dirolf 2009-12-21 13:52:53 -05:00
parent e99018c84f
commit 3d103351da
1 changed files with 6 additions and 6 deletions

View File

@ -93,16 +93,16 @@ namespace :gem do
desc "Install the gem locally"
task :install do
system "gem build mongo-ruby-driver.gemspec"
system "gem install mongo-*.gem"
system "rm mongo-*.gem"
sh "gem build mongo-ruby-driver.gemspec"
sh "gem install mongo-*.gem"
sh "rm mongo-*.gem"
end
desc "Install the optional c extensions"
task :install_extensions do
system "gem build mongo-extensions.gemspec"
system "gem install mongo_ext-*.gem"
system "rm mongo_ext-*.gem"
sh "gem build mongo-extensions.gemspec"
sh "gem install mongo_ext-*.gem"
sh "rm mongo_ext-*.gem"
end
end