Skip to content

Commit

Permalink
update gempspec to exclude files
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Jul 8, 2024
1 parent 0e879ad commit 1b5f4fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shakapacker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@ Gem::Specification.new do |s|
s.add_development_dependency "rubocop-performance"

s.files = `git ls-files`.split("\n")
s.files = `git ls-files -z`.split("\x0").reject { |f|
f.match(%r{^(test|spec|features|tmp|node_modules|packages|coverage|Gemfile.lock|rakelib)/})
}


s.test_files = `git ls-files -- test/*`.split("\n")
end

0 comments on commit 1b5f4fa

Please sign in to comment.