Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
Only ship the necessary libs in the gem artifact (#148)
Browse files Browse the repository at this point in the history
The gem artifact is not the ideal place to ship examples, contributing
docs, a rake file and various hidden files. This will greatly reduce the
size of the installed gem artifact and speed up installs on systems with
malware scanners. This drops the compressed gem size.

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 authored and jrgarcia committed Dec 18, 2018
1 parent 8b95067 commit 7e813a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.2.6
- 2.3.3
- 2.4.0
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- jruby-1.7.26
- jruby-9.1.8.0
before_install:
Expand Down
2 changes: 1 addition & 1 deletion rbvmomi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.license = 'MIT'

spec.bindir = 'exe'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(/^test\//) }
spec.files = %w{LICENSE README.md vmodl.db} + Dir.glob("{lib,exe}/**/*")
spec.executables << 'rbvmomish'

spec.add_runtime_dependency('builder', '~> 3.0')
Expand Down

0 comments on commit 7e813a1

Please sign in to comment.