Skip to content

Commit 24c6ca4

Browse files
committed
🙈 Exclude .mailmap and .github files from gem
1 parent 7b7cd54 commit 24c6ca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net-imap.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
2727
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
2828
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
2929
`git ls-files -z 2>/dev/null`.split("\x0")
30-
.reject {|f| f.match(%r{^(bin|test|spec|benchmarks|features|rfcs)/}) }
30+
.grep_v(%r{^(\.git|\.mailmap|bin|test|spec|benchmarks|features|rfcs)/})
3131
end
3232
spec.bindir = "exe"
3333
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)