From 470d3a2a23f5419048f0305ca73441c6a430b349 Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Thu, 31 Jul 2014 16:04:55 -0700 Subject: [PATCH] Update to a better, more gitty way --- jekyll.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jekyll.gemspec b/jekyll.gemspec index 74a1629f..7396ec6d 100644 --- a/jekyll.gemspec +++ b/jekyll.gemspec @@ -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"]