Skip to content

Commit

Permalink
feat: remove unused gemfile.lock files
Browse files Browse the repository at this point in the history
(#123)

Co-authored-by: Benjamin Mathieu <benjamin.mathieu@mobi.ch>
  • Loading branch information
benthieu and Benjamin Mathieu committed Jan 22, 2024
1 parent aa849da commit d03a452
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/package.rake
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ def remove_unnecessary_files package_dir
sh "find #{package_dir}/lib/vendor/ruby -name '*.css' | xargs rm -f"
sh "find #{package_dir}/lib/vendor/ruby -name '*.svg' | xargs rm -f"

# Remove unused Gemfile.lock files
sh "find #{package_dir}/lib/vendor/ruby -name 'Gemfile.lock' | xargs rm -f"

# Uncommonly used encodings
sh "rm -f #{package_dir}/lib/ruby/lib/ruby/*/*/enc/cp949*"
sh "rm -f #{package_dir}/lib/ruby/lib/ruby/*/*/enc/euc_*"
Expand Down Expand Up @@ -249,4 +252,4 @@ def install_plugin_cli(package_dir, package_target)
sh "gunzip -N -f #{package_dir}/bin/pact-plugin-cli.exe.gz"
sh "chmod +x #{package_dir}/bin/pact-plugin-cli.exe"
end
end
end

0 comments on commit d03a452

Please sign in to comment.