Skip to content

Commit

Permalink
Merge pull request #22 from f440/remove-unused-files-from-package
Browse files Browse the repository at this point in the history
Remove unused files from package
  • Loading branch information
knu authored Aug 17, 2024
2 parents c7f544e + ba21d0e commit 43cf699
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ to Ruby/JRuby.
gem.platform = defined?(JRUBY_VERSION) ? 'java' : Gem::Platform::RUBY
gem.license = "BSD-2-Clause"

gem.files = `git ls-files`.split("\n")
gem.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?(*%w[test/ Rakefile .gitignore .travis.yml]) }
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/.*\.rb})
gem.require_paths = ["lib"]
gem.extra_rdoc_files = ['README.md', 'LICENSE']

Expand Down

0 comments on commit 43cf699

Please sign in to comment.