Skip to content

Commit

Permalink
Reduce data size of the package
Browse files Browse the repository at this point in the history
  • Loading branch information
hidakatsuya committed May 30, 2020
1 parent edd261f commit f0ce29a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prawn-emoji.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.4'

spec.files = `git ls-files`.split("\n")
spec.test_files = `git ls-files -- {test}/*`.split("\n")
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
end
spec.require_path = 'lib'

spec.add_runtime_dependency 'prawn', '~> 2.2.0'
Expand Down

0 comments on commit f0ce29a

Please sign in to comment.