Skip to content

Commit ca1c952

Browse files
committed
Don't package test files with gem [ci skip]
1 parent 81dadf4 commit ca1c952

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

thor.gemspec

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@ Gem::Specification.new do |spec|
99
spec.description = %q(Thor is a toolkit for building powerful command-line interfaces.)
1010
spec.email = "[email protected]"
1111
spec.executables = %w[thor]
12-
spec.files = %w[.document CHANGELOG.md LICENSE.md README.md Thorfile thor.gemspec]
13-
spec.files += Dir.glob("bin/**/*")
14-
spec.files += Dir.glob("lib/**/*.rb")
15-
spec.files += Dir.glob("spec/**/*")
12+
spec.files = %w[.document CHANGELOG.md LICENSE.md README.md thor.gemspec] + Dir['bin/*'] + Dir['lib/**/*.rb']
1613
spec.homepage = "http://whatisthor.com/"
1714
spec.licenses = %w[MIT]
1815
spec.name = "thor"
1916
spec.require_paths = %w[lib]
2017
spec.required_rubygems_version = ">= 1.3.5"
2118
spec.summary = spec.description
22-
spec.test_files = Dir.glob("spec/**/*")
2319
spec.version = Thor::VERSION
2420
end

0 commit comments

Comments
 (0)