Skip to content

Commit

Permalink
Merge pull request #140 from amatsuda/exclude_specs_from_gem_package
Browse files Browse the repository at this point in the history
Exclude spec files from gem package
  • Loading branch information
stevenharman authored Aug 2, 2024
2 parents 29cef61 + fd83069 commit 0c720b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion letter_opener_web.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.license = 'MIT'
gem.required_ruby_version = '>= 3.1'

gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).grep_v(%r{^spec/})
gem.executables = gem.files.grep(%r{^exe/}).map { |f| File.basename(f) }
gem.require_paths = ['lib']

Expand Down

0 comments on commit 0c720b4

Please sign in to comment.