Skip to content

Commit

Permalink
Exclude test in gem
Browse files Browse the repository at this point in the history
  • Loading branch information
cyu committed Jun 17, 2023
1 parent b0e06a0 commit 202b85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rack-cors.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/cyu/rack-cors'
spec.license = 'MIT'

spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).reject { |f| (f == '.gitignore') || f =~ /^examples/ }
spec.files = Dir['CHANGELOG.md', 'README.md', 'LICENSE.txt', 'lib/**/*']
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
Expand Down

0 comments on commit 202b85d

Please sign in to comment.