Skip to content

Commit

Permalink
Only package the license, readme and files under lib/ in the gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppostma committed Dec 6, 2024
1 parent 8ccbc74 commit cf79f2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tikkie-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Gem::Specification.new do |spec|

spec.metadata['rubygems_mfa_required'] = 'true'

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
# Specify which files should be added to the gem when it is released.
spec.files = Dir['LICENSE.txt', 'README.md', 'lib/**/*']

spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 3.0.0'
Expand Down

0 comments on commit cf79f2b

Please sign in to comment.