mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
a9f0b44503
Now that the entire Capistrano docs website is contained in the docs directory, by default all those files will be included in the .gem file that is created by `rake build`. This means that the capistrano gem has increased in size from 68 KB to 802 KB. More than 10x! This commit updates the gemspec to include the docs directory when building the gem, to avoid this bloat.
32 lines
1.2 KiB
Ruby
32 lines
1.2 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
lib = File.expand_path("../lib", __FILE__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
require "capistrano/version"
|
|
|
|
Gem::Specification.new do |gem|
|
|
gem.name = "capistrano"
|
|
gem.version = Capistrano::VERSION
|
|
gem.authors = ["Tom Clements", "Lee Hambley"]
|
|
gem.email = ["seenmyfate@gmail.com", "lee.hambley@gmail.com"]
|
|
gem.description = "Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH."
|
|
gem.summary = "Capistrano - Welcome to easy deployment with Ruby over SSH"
|
|
gem.homepage = "http://capistranorb.com/"
|
|
|
|
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"]
|
|
|
|
gem.licenses = ["MIT"]
|
|
|
|
gem.required_ruby_version = ">= 2.0"
|
|
gem.add_dependency "airbrussh", ">= 1.0.0"
|
|
gem.add_dependency "i18n"
|
|
gem.add_dependency "rake", ">= 10.0.0"
|
|
gem.add_dependency "sshkit", ">= 1.9.0"
|
|
gem.add_dependency "capistrano-harrow"
|
|
|
|
gem.add_development_dependency "rspec"
|
|
gem.add_development_dependency "mocha"
|
|
gem.add_development_dependency "rubocop"
|
|
end
|