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:
parent
7d0a6e28f2
commit
7820162018
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ Gem::Specification.new do |spec|
|
|||
spec.metadata["source_code_uri"] = spec.homepage
|
||||
|
||||
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
|
||||
spec.bindir = "exe"
|
||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||
|
|
Loading…
Reference in a new issue