summaryrefslogtreecommitdiff
path: root/ext/io/nonblock
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-12 14:55:48 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-03 17:35:28 +0900
commit7820162018869f8931e7abd5d153d5d26c6ae411 (patch)
tree9b41b6e08b6c3ec7cc826c2f7c3f19193f6135ff /ext/io/nonblock
parent7d0a6e28f2260ec2ba487c174e35a9dc614e2e60 (diff)
[ruby/io-nonblock] Exclude dot-files for CIs
https://github.com/ruby/io-nonblock/commit/9fa3ad9c7a
Diffstat (limited to 'ext/io/nonblock')
-rw-r--r--ext/io/nonblock/io-nonblock.gemspec4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/io/nonblock/io-nonblock.gemspec b/ext/io/nonblock/io-nonblock.gemspec
index 4565c99d178..fbc13cd32cd 100644
--- a/ext/io/nonblock/io-nonblock.gemspec
+++ b/ext/io/nonblock/io-nonblock.gemspec
@@ -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) }