rbs
rbs copied to clipboard
Identify and skip `development` dependencies
There are practices to differentiate “development apps” (e.g., use Rake to automate, use RBS to test) and “runtime libraries” (e.g., Rake plugin, RBS processor) in Gemfiles and .gemspecs.
# Gemfile
group :development do
gem 'rake', …
gem 'rbs', …
end
# *.gemspec
…
add_development_dependency 'rake', …
add_development_dependency 'rbs', …
…
RBS – both rbs collection as well as when looking for sig/s in general – should learn to identify those patterns.
- Relates to https://github.com/ruby/rbs/issues/1148#issuecomment-1426756981
Originally posted by @ParadoxV5 in https://github.com/soutaro/rbs-inline/issues/11#issuecomment-2101120845