X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5858999045c59a4ad6baf7ebbba77b086f541d91..cb7380d256c20b2a7cedf822c4394e6485b1dcc4:/Rakefile diff --git a/Rakefile b/Rakefile index 04a09f46dc..afd7fdd089 100644 --- a/Rakefile +++ b/Rakefile @@ -15,21 +15,25 @@ 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_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 APIs. TEXT -PKG_FILES = FileList[ +list = FileList[ 'lib/**/*', 'spec/**/*', 'vendor/**/*', 'tasks/**/*', 'website/**/*', '[A-Z]*', 'Rakefile' -].exclude(/database\.yml/).exclude(/[_\.]git$/) +].exclude(/[_\.]git$/) +(open(".gitignore") { |file| file.read }).split("\n").each do |pattern| + list.exclude(pattern) +end +PKG_FILES = list -RCOV_ENABLED = (RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/) +RCOV_ENABLED = !!(RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/) if RCOV_ENABLED task :default => 'spec:rcov' else