Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slim the size of the gem by removing spec files #377

Merged
merged 1 commit into from Oct 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions kitchen-vagrant.gemspec
Expand Up @@ -2,7 +2,6 @@
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "kitchen/driver/vagrant_version.rb"
require "English"

Gem::Specification.new do |gem|
gem.name = "kitchen-vagrant"
Expand All @@ -14,8 +13,7 @@ Gem::Specification.new do |gem|
gem.summary = gem.description
gem.homepage = "https://github.com/test-kitchen/kitchen-vagrant/"

gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
gem.executables = []
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).grep(/LICENSE|^CHANGELOG|^lib|^support|^templates/)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

Expand Down