Don't include test_files in gemspec. #2671.
This commit is contained in:
parent
579a18c93b
commit
413e22ce2b
|
@ -20,9 +20,9 @@ Gem::Specification.new do |s|
|
||||||
s.email = 'tom@mojombo.com'
|
s.email = 'tom@mojombo.com'
|
||||||
s.homepage = 'https://github.com/jekyll/jekyll'
|
s.homepage = 'https://github.com/jekyll/jekyll'
|
||||||
|
|
||||||
s.files = `git ls-files -z`.split("\x0").select{|p|p.start_with?("lib/")}
|
all_files = `git ls-files -z`.split("\x0")
|
||||||
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
s.files = all_files.grep(%r{^(bin|lib)/})
|
||||||
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
s.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
|
|
||||||
s.rdoc_options = ["--charset=UTF-8"]
|
s.rdoc_options = ["--charset=UTF-8"]
|
||||||
|
|
Loading…
Reference in New Issue