diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-17 21:30:42 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-17 21:30:42 -0700 |
commit | 3cf34aa1c465dd9eae8c03f65bc4ba6292e19062 (patch) | |
tree | 209761f42f48cca02c0db53553cd6c8eb5645897 | |
parent | 387d57d198234827bc7364d276743881915933a0 (diff) | |
download | chef-3cf34aa1c465dd9eae8c03f65bc4ba6292e19062.tar.gz |
Remove a few additional files from our buildssmaller
Knock maybe another 150k from the builds
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | omnibus/config/software/more-ruby-cleanup.rb | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/omnibus/config/software/more-ruby-cleanup.rb b/omnibus/config/software/more-ruby-cleanup.rb index d7c583cb7d..fd0c3533bc 100644 --- a/omnibus/config/software/more-ruby-cleanup.rb +++ b/omnibus/config/software/more-ruby-cleanup.rb @@ -29,15 +29,24 @@ build do # find the embedded ruby gems dir and clean it up for globbing target_dir = "#{install_dir}/embedded/lib/ruby/gems/*/gems".tr('\\', "/") files = %w{ + *.blurb + *Upgrade.md .appveyor.yml .autotest + .circleci .github .kokoro + .simplecov + .tool-versions Appraisals + autotest autotest/* bench benchmark benchmarks + bundle_install_all_ruby_versions.sh + concourse + design_rationale.rb doc doc-api docs @@ -46,31 +55,34 @@ build do example examples ext + features frozen_old_spec Gemfile.devtools Gemfile.lock Gemfile.travis + INSTALL.txt logo.png man + minitest + NEWS.md + on_what.rb rakelib + README.euc release-script.txt + run_specs_all_ruby_versions.sh sample samples + SECURITY.md site + SPEC.rdoc test tests travis_build_script.sh + vendor + VERSION warning.txt website yard-template - minitest - INSTALL.txt - features - *Upgrade.md - vendor - *.blurb - autotest - VERSION } Dir.glob(Dir.glob("#{target_dir}/*/{#{files.join(",")}}")).each do |f| |