If it's in .gitignore, it shouldn't be part of the gem.

This commit is contained in:
Bob Aman committed 2012-11-19 12:05:33 +03:00
1 parent 0b31876250
commit 6ac2952366
2 files changed
+9 -5

No files matched your search

+6 -2
View File
@@ -23,11 +23,15 @@ 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$/)
]
(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/)
if RCOV_ENABLED