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" desc "Install the gem locally"
task :install do task :install do
system "gem build mongo-ruby-driver.gemspec" sh "gem build mongo-ruby-driver.gemspec"
system "gem install mongo-*.gem" sh "gem install mongo-*.gem"
system "rm mongo-*.gem" sh "rm mongo-*.gem"
end end
desc "Install the optional c extensions" desc "Install the optional c extensions"
task :install_extensions do task :install_extensions do
system "gem build mongo-extensions.gemspec" sh "gem build mongo-extensions.gemspec"
system "gem install mongo_ext-*.gem" sh "gem install mongo_ext-*.gem"
system "rm mongo_ext-*.gem" sh "rm mongo_ext-*.gem"
end end
end end