зеркало из https://github.com/github/ruby.git
[ruby/cgi] Exclude unused files from built package
https://github.com/ruby/cgi/commit/e840b6c368
This commit is contained in:
Родитель
45034e9de3
Коммит
f53f6d9284
|
@ -23,10 +23,9 @@ Gem::Specification.new do |spec|
|
|||
spec.metadata["source_code_uri"] = spec.homepage
|
||||
|
||||
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
||||
`git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
||||
`git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{\A(?:(?:test|spec|features)/|\.git)}) }
|
||||
end
|
||||
spec.extensions = ["ext/cgi/escape/extconf.rb"]
|
||||
spec.bindir = "exe"
|
||||
spec.executables = []
|
||||
spec.require_paths = ["lib"]
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче