Skip to content

Commit 7b01b8a

Browse files
authored
Merge pull request #217 from olleolleolle/fix/exclude-rubocop-yml-from-gemspec
gemspec: Exclude various YAML configuration files
2 parents abc493f + 04f5778 commit 7b01b8a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rake.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Rake has the following features:
2424
s.homepage = "https://github.com/ruby/rake".freeze
2525
s.licenses = ["MIT".freeze]
2626

27-
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
27+
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } -
28+
%w[.rubocop.yml .travis.yml appveyor.yml]
2829
s.bindir = "exe"
2930
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
3031
s.require_paths = ["lib".freeze]

0 commit comments

Comments
 (0)