Modify gemspec files fields
Closed this issue · 0 comments
yukihirop commented
Summary
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin|.github|devscript|docs|gemfiles)/}) }
end
↓
spec.files = [lib, CHANGELOG.md, README.md, README.ja.md, LICENSE.txt, r2-oas.gemspec]