diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-25 13:05:24 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-25 13:05:24 -0600 |
| commit | 8761dc7f822275977752097a958a425a1fa9e252 (patch) | |
| tree | e7f206fee17028dcc738681e9767e9f8ce8ac7ee | |
| parent | a7cff6ccaf2740125e91e56d93b71611b921bb3e (diff) | |
Use delete DSL
| -rw-r--r-- | config/software/asdf_ruby.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/config/software/asdf_ruby.rb b/config/software/asdf_ruby.rb index d6bb13f..2bbec16 100644 --- a/config/software/asdf_ruby.rb +++ b/config/software/asdf_ruby.rb @@ -54,15 +54,15 @@ build do make "-j #{workers}", env: env make "-j #{workers} install", env: env command "#{install_dir}/bin/gem update --system" - command "rm -r #{install_dir}/embedded/share" - command "rm -r #{install_dir}/share" - command "rm -r #{install_dir}/lib/ruby/gems/**/cache" - command "rm -r #{install_dir}/lib/ruby/gems/**/doc" - command "rm -r #{install_dir}/lib/ruby/gems/**/gems/**/man" - command "rm -r #{install_dir}/lib/ruby/gems/**/gems/**/test" - command "rm -r #{install_dir}/lib/ruby/gems/**/gems/**/.travis.yml" - command "rm -r #{install_dir}/lib/ruby/gems/**/gems/**/.gitignore" - command "rm -r #{install_dir}/lib/ruby/gems/**/gems/**/bundler/man" - command "rm -r #{install_dir}/lib/ruby/gems/**/gems/**/.github" - command "rm -r #{install_dir}/lib/ruby/gems/**/gems/rubygems-update-*" + delete "#{install_dir}/embedded/share" + delete "#{install_dir}/share" + delete "#{install_dir}/lib/ruby/gems/**/cache" + delete "#{install_dir}/lib/ruby/gems/**/doc" + delete "#{install_dir}/lib/ruby/gems/**/gems/**/man" + delete "#{install_dir}/lib/ruby/gems/**/gems/**/test" + delete "#{install_dir}/lib/ruby/gems/**/gems/**/.travis.yml" + delete "#{install_dir}/lib/ruby/gems/**/gems/**/.gitignore" + delete "#{install_dir}/lib/ruby/gems/**/gems/**/bundler/man" + delete "#{install_dir}/lib/ruby/gems/**/gems/**/.github" + delete "#{install_dir}/lib/ruby/gems/**/gems/rubygems-update-*" end |
