Update to a better, more gitty way
This commit is contained in:
parent
8dd54b9ec3
commit
470d3a2a23
|
@ -20,7 +20,7 @@ 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 = Dir["lib/**/*.rb"]
|
s.files = `git ls-files -z`.split("\x0").select{|p|p.start_with?("lib/")}
|
||||||
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
||||||
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
|
|
Loading…
Reference in New Issue