Skip to content

Commit

Permalink
🙈 Exclude .mailmap and .github files from gem
Browse files Browse the repository at this point in the history
  • Loading branch information
nevans committed Feb 4, 2024
1 parent 7b7cd54 commit 24c6ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net-imap.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z 2>/dev/null`.split("\x0")
.reject {|f| f.match(%r{^(bin|test|spec|benchmarks|features|rfcs)/}) }
.grep_v(%r{^(\.git|\.mailmap|bin|test|spec|benchmarks|features|rfcs)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
Expand Down

0 comments on commit 24c6ca4

Please sign in to comment.