mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
Update to a better, more gitty way
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user