Update readme for CLI + samples
[arvados.git] / Rakefile
index 273cb584959ad31d77cdcc55872b3ea4bfcf03f9..a33a41286410f13a89d5721cef4f0c77c12023a3 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -4,17 +4,6 @@ $LOAD_PATH.uniq!
 
 require 'rubygems'
 require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-require 'rake/packagetask'
-require 'rake/gempackagetask'
-
-begin
-  require 'spec/rake/spectask'
-rescue LoadError
-  STDERR.puts 'Please install RSpec.'
-  exit(1)
-end
 
 require File.join(File.dirname(__FILE__), 'lib/google/api_client', 'version')
 
@@ -26,6 +15,8 @@ PKG_HOMEPAGE       = 'http://code.google.com/p/google-api-ruby-client/'
 
 RELEASE_NAME       = "REL #{PKG_VERSION}"
 
+PKG_AUTHOR         = ["Bob Aman", "Steve Bazyl"]
+PKG_AUTHOR_EMAIL   = "sbazyl@google.com"
 PKG_SUMMARY        = 'Package Summary'
 PKG_DESCRIPTION    = <<-TEXT
 The Google API Ruby Client makes it trivial to discover and access supported
@@ -38,9 +29,9 @@ PKG_FILES = FileList[
     '[A-Z]*', 'Rakefile'
 ].exclude(/database\.yml/).exclude(/[_\.]git$/)
 
-RCOV_ENABLED = (RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
+RCOV_ENABLED = !!(RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
 if RCOV_ENABLED
-  task :default => 'spec:verify'
+  task :default => 'spec:rcov'
 else
   task :default => 'spec'
 end