Update to a better, more gitty way

This commit is contained in:
Garen Torikian 2014-07-31 16:04:55 -07:00
parent 8dd54b9ec3
commit 470d3a2a23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.email = 'tom@mojombo.com'
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.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ["lib"]