-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Centralize more Nuget calls #8849
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this consolidation.
debug | ||
gpgme | ||
rake | ||
rspec-its | ||
rspec-sorbet | ||
rubocop | ||
rubocop-performance | ||
rubocop-sorbet | ||
stackprof | ||
turbo_tests | ||
vcr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not quite clear to me why these changes are needed, I would expect these to already be pulled in via the gemspec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are unfortunately not. Running bundle exec turbo_tests
in any directory currently gives
bundler: failed to load command: turbo_tests (/home/jamie/.asdf/installs/ruby/3.1.4/bin/turbo_tests)
/home/jamie/.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/bundler-2.5.3/lib/bundler/rubygems_integration.rb:265:in `block in replace_bin_path': can't find executable turbo_tests for gem turbo_tests. turbo_tests is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
I think it might actually be easier to get rid of deps_shared_with_common
and just load the same development dependencies below
Dir.chdir(File.dirname(common_gemspec)) do
Gem::Specification.load(common_gemspec).development_dependencies.each do |dep|
- next unless deps_shared_with_common.include?(dep.name)
-
gem dep.name, *dep.requirement.as_list
end
end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trying to split up my earlier PR into more manageable chunks, easy parts first.