Refactor build static gemfile script
What does this MR do and why?
Refactor jh/bin/build_static_gemfile
script.
./jh/bin/build_static_gemfile
outputs:
Replace "path: 'gem-path'" with "path: '../gem-path'"
Examples
Gemfile |
jh/Gemfile |
---|---|
path: 'vendor/gems/bundler-checksum' |
path: '../vendor/gems/bundler-checksum' |
gem 'gitlab-utils', path: 'gems/gitlab-utils' |
gem 'gitlab-utils', path: '../gems/gitlab-utils' |
# in vendor/gems/attr_encrypted/attr_encrypted.gemspec until we resolve |
# in ../vendor/gems/attr_encrypted/attr_encrypted.gemspec until we resolve |
$LOAD_PATH.unshift(File.expand_path("vendor/gems/bundler-checksum/lib", __dir__)) |
$LOAD_PATH.unshift(File.expand_path("../vendor/gems/bundler-checksum/lib", __dir__)) |
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Baodong 编辑于