Skip to content

Commit

Permalink
Exclude dot-files for CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Oct 12, 2020
1 parent e14f795 commit 9fa3ad9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion io-nonblock.gemspec
Expand Up @@ -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) }
Expand Down

0 comments on commit 9fa3ad9

Please sign in to comment.