1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #1782 from mattbrictson/gem-exclude-docs

Exclude docs from gem package to prevent gem from getting 10x larger
This commit is contained in:
Matt Brictson 2016-10-03 07:15:03 -07:00 committed by GitHub
commit 1ffe324777

View file

@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.summary = "Capistrano - Welcome to easy deployment with Ruby over SSH"
gem.homepage = "http://capistranorb.com/"
gem.files = `git ls-files -z`.split("\x0")
gem.files = `git ls-files -z`.split("\x0").reject { |f| f =~ /^docs/ }
gem.executables = %w(cap capify)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]