Skip to content

Commit

Permalink
Exclude some more "development only" files from the gem package
Browse files Browse the repository at this point in the history
especially, js files under assets dir are very huge, but used only for
precompiling assets, and not referenced in production.
  • Loading branch information
amatsuda committed Dec 26, 2023
1 parent c058d98 commit f9403a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplecov-html.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
gem.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) ||
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile assets .rubocop.yml Guardfile])
end
end
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down

0 comments on commit f9403a3

Please sign in to comment.