mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

This will improve the output and ease of parsing while allowing code to be removed from brew-test-bot which relates only to a single repo (this one).
26 lines
424 B
Ruby
26 lines
424 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "formula"
|
|
require "cli/parser"
|
|
|
|
module Homebrew
|
|
module_function
|
|
|
|
def install_bundler_gems_args
|
|
Homebrew::CLI::Parser.new do
|
|
usage_banner <<~EOS
|
|
`install-bundler-gems`
|
|
|
|
Install Homebrew's Bundler gems.
|
|
EOS
|
|
switch :debug
|
|
end
|
|
end
|
|
|
|
def install_bundler_gems
|
|
install_bundler_gems_args.parse
|
|
|
|
Homebrew.install_bundler_gems!
|
|
end
|
|
end
|