Skip to content

Commit

Permalink
Exclude unneeded directories from the gem
Browse files Browse the repository at this point in the history
  • Loading branch information
styd committed Feb 4, 2024
1 parent cc704f6 commit 9eba1ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apexcharts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Gem::Specification.new do |spec|
'ruby app powered by apexcharts.js.'
spec.license = 'MIT'

spec.files = Dir['{lib,vendor}/**/*', 'LICENSE', 'README.md']
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(docs|examples|images|spec|\.github)/})
end

spec.add_development_dependency 'bundler'
spec.add_development_dependency 'nokogiri'
Expand Down

0 comments on commit 9eba1ff

Please sign in to comment.