X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e6ba0f68606cf6050ecdb890d6eb7b7bcd2dcbc0..4d441b043749c5eb09619533a52054561c7b98fb:/Rakefile diff --git a/Rakefile b/Rakefile index 273cb58495..12f2767570 100644 --- 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" +PKG_AUTHOR_EMAIL = "bobaman@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