1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/io-nonblock] Exclude dot-files for CIs

https://github.com/ruby/io-nonblock/commit/9fa3ad9c7a
This commit is contained in:
Nobuyoshi Nakada 2020-10-12 14:55:48 +09:00 committed by Hiroshi SHIBATA
parent 7d0a6e28f2
commit 7820162018
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -14,7 +14,9 @@ Gem::Specification.new do |spec|
spec.metadata["source_code_uri"] = spec.homepage spec.metadata["source_code_uri"] = spec.homepage
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) } %x[git ls-files -z].split("\x0").reject do |f|
f.match(%r{\A(?:test|spec|features)/|\A\.(?:git|travis)})
end
end end
spec.bindir = "exe" spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }