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:
commit
1ffe324777
1 changed files with 1 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue